flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
scientica
One simple modification should be enougth (/me no guru, just learning) add this at the to pages that is to never to be cached (should work for any proxy that is following rules):
[php]/* <!> HEADER MAGIC <!> */ ob_start(); // Take a hint... (don't cache this, please ![]() 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 // HTTP/1.1 header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache");// HTTP/1.0 ob_end_flush(); /* <!> HEADER MAGIC <!> */[/php] (should work, did for me when I tested on my local apache server, even thought I didn't have aproxy but connected direclty to apace). Found this somewhere on the net not sure where, iirc it's was from php.net _________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.