There is one typo:

--
I have read this:
http://localhost:8080/XDataSystem/standard/js/standard.js
--

Must be replaces by:

--
I have read this:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.44
--

( Sorry, Copy-Paste error )

[EMAIL PROTECTED] schreef:
I am using Tomcat 5.5 together with Eclipse 3.2.2 for development
of a web application.

But when i use FireBug in Firefox to track network traffic is
see that tomcat never returns a 304 NOT MODIFIED header
if a file is requested twice.

For example when requesting a JavaScript file:
http://localhost:8080/XDataSystem/standard/js/standard.js
you see the following headers:

*Response Headers*
Server     Apache-Coyote/1.1
Etag     W/"10823-1179768573406"
Last-Modified     Mon, 21 May 2007 17:29:33 GMT
Content-Type     text/javascript
Content-Encoding     gzip
Vary     Accept-Encoding
Date     Tue, 22 May 2007 11:52:27 GMT
*Request Headers*
Host     localhost:8080
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Accept     */*
Accept-Language     nl,en-us;q=0.7,en;q=0.3
Accept-Encoding     gzip,deflate
Accept-Charset     ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive     300
Connection     keep-alive
Referer     http://localhost:8080/XDataSystem/rainbow/home.page



As you can see in the response filter i have turned GZIP compressoin on.

But when i request the page again ( by typing the url in the url-bar, NOT using F5 )
I get the exact same response back.. But i expect a 304 response.

I think it has something to do with the Vary response field.
I have read this:
http://localhost:8080/XDataSystem/standard/js/standard.js

But i do not understand it fully.

can anybody help me??
This really makes my application ( using dojo ) slow.

Thanks in advance.

Tjerk Wolterink




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to