Code: Select all
header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1
header('Pragma: no-cache'); // HTTP/1.0Code: Select all
HTTP/1.1 200 OK
Date: Sun, 25 Feb 2007 13:12:31 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1IE 6 caches the same pages.
(used httpWatch to see the client caches or not)
Here is the header that the server sends:
Code: Select all
HTTP/1.1 200 OK
Date: Sun, 25 Feb 2007 13:06:41 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 270
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Content-Type: text/html; charset=ISO-8859-1