Re: Problems with caching and headers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mathijs wrote:
Jochem Maas wrote:
Mathijs wrote:
Hello there,

I can't figure out why there are some headers set while i don't set them
myself.

The following headers are sent to the browser.
-Expires: Thu, 19 Nov 1981 08:52:00 GMT
-Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
-Pragma: no-cache

All those i didn't set my self.

Does PHP set these or something?

maybe it was php (check your session settings and read the relevant parts of the manual
regarding session related headers)

maybe it was a piece of 3rd party code.

may it was 'something' ;-)

most likely it's the session extension doing this.


And you are right again :).
Thanks again.

This was a real pain in the ass.
Because IE didn't sent the If-Last-Modified and/or if-none-match if one of those headers are sent.

Thank you.


Thx in advanced.



Well it seems its working kinda.

Now i have a problem with the ETag.
Internet Explorer seems to forget this when the content is compressed.
This because of the Vary header apparently.

Is there a fix for this?
Or a workaround?

Thx.



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0628-1, 07-10-2006
Tested on: 07-11-2006 13:33:12
avast! - copyright (c) 1988-2006 ALWIL Software.
http://www.avast.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux