RE: [PHP] Internet Explorer Caching
- From: daevid@xxxxxxxxxx ("Daevid Vincent")
- Date: Thu, 30 Aug 2007 13:59:30 -0700
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
.
- References:
- Re: [PHP] Internet Explorer Caching
- From: Charlene
- Re: [PHP] Internet Explorer Caching
- Prev by Date: Re: [PHP] Reload page after form submit
- Next by Date: Re: [PHP] Reload page after form submit
- Previous by thread: Re: [PHP] Internet Explorer Caching
- Next by thread: Re: [PHP] Internet Explorer Caching
- Index(es):
Relevant Pages
|