RE: [PHP] Internet Explorer Caching



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
.



Relevant Pages

  • Re: Bug in kmem_cache_create with duplicate names
    ... >Your module should fail to load if you can't register a cache. ... This BUG specifically means that you allocated ... and/or exempt from disclosure under applicable law. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: DHCP weirdness - "Unicasting datagram to 0.0.0.0" ?
    ... >> a bug or a feature of the DHCP server that it behaves like this. ... As you observe, eventually the cache entry times out, gets ... I did try fiddling with the offer cache timeout, but it doesn't seem to help ... Is the DHCP server source going to be included in OpenSolaris? ...
    (comp.unix.solaris)
  • Re: DHCP weirdness - "Unicasting datagram to 0.0.0.0" ?
    ... > bug or a feature of the DHCP server that it behaves like this. ... It's a bug, number 6220012, the server gets confused about what's in its ... with x86 clients because the PXE boot process is more convoluted than ... As you observe, eventually the cache entry times out, gets ...
    (comp.unix.solaris)
  • Re: Bug in kmem_cache_create with duplicate names
    ... On Tue, 2004-12-07 at 11:15 -0500, Arjan van de Ven wrote: ... Your module should fail to load if you can't register a cache. ... Now this raises the issue of name space, this will bug if two modules ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: How much tuning does regular lisp compilers do?
    ... | miss each and every time through the loop. ... In my conversations with people who *are* experienced compiler ... It's not only about time to load the cache line, ... We refused to buckle to this kind of hardware bug; ...
    (comp.lang.lisp)