RE: Internet Explorer Caching

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

 



Here are some cache things we do for IE...


// workaround for IE bug that prevents downloading files from an httpS site
// (see http://support.microsoft.com/default.aspx?scid=kb;en-us;316431 )
session_cache_limiter('public');


// This ensures that most browsers known to human beings won't try to cache
the page.
// Proxy caching is, I believe, somewhat addressed by the cache-control, but

// additional directives exist should that ever become a concern.
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always
modified
header("Cache-Control: no-store, no-cache, must-revalidate");  // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");                          // HTTP/1.0

-- 
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