PDA

View Full Version : why no cache!


stevehof
27th of February 2003 (Thu), 20:19
Pekka, or anybody care to explain the necessity of the following code in the head of the list.php page:

header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1

I'm assuming this is the reason why you get a 'page expired' when you try to 'go back' using the browers's back button.

THANKS!

Pekka
2nd of March 2003 (Sun), 06:10
Those headers are there only for password-protected exhibitions so that their URL's are not stored in proxies.