Hi!

I'm not sure this is the right list to post this question to, if anyone knows 
a more suitable one please let me know...

I have a problem. I want the browsers to cache my output yet always check the 
server for newer version of the response. The headers I use (output taken 
from http://www.w3.org/,headers ):

200 OK
Server: Apache/1.3.29 (Unix) FrontPage/5.0.2.2623 mod_ssl/2.8.16 
OpenSSL/0.9.7a mod_auth_pam/1.0a
X-Powered-By: PHP/4.3.4
Expires: Sun, 04 Jan 2004 14:00:38 GMT
Content-Type: text/html; charset=ISO-8859-2
Date: Sun, 04 Jan 2004 14:00:38 GMT
Cache-Control: no-cache, must-revalidate, proxy-revalidate, max-age=0, 
s-maxage=0
Connection: close
Last-Modified: Sun, 04 Jan 2004 14:00:38 GMT

The Cache-Control headers are really sent in three lines (unless Apache joins 
them together?). 

Now: other browsers (Opera, Konqueror and Mozilla for Linux) obey and check 
the server for newer versions, yet they allow me to issue 304 response - the 
way it should be. But IE6 just doesn't cache the response. The weird thing is 
that it works as expected on my production server (over LAN), but not over 
Internet. 

Am I missing something? I tried "Cache-Control: private" too, but to no 
avail...  

I would be grateful for any answers, speculations, RTFMs,...

Have fun!

Anze

Reply via email to