Revision 2ebbb0bc
Added by Jose Luis Duran about 10 years ago
usr/local/www/graph.php | ||
---|---|---|
45 | 45 |
|
46 | 46 |
header("Last-Modified: " . gmdate( "D, j M Y H:i:s" ) . " GMT" ); |
47 | 47 |
header("Expires: " . gmdate( "D, j M Y H:i:s", time() ) . " GMT" ); |
48 |
header("Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0" ); // HTTP/1.1
|
|
48 |
header("Cache-Control: no-cache, no-store, must-revalidate" ); // HTTP/1.1 |
|
49 | 49 |
header("Pragma: no-cache"); // HTTP/1.0 |
50 | 50 |
header("Content-type: image/svg+xml"); |
51 | 51 |
|
Also available in: Unified diff
Remove pre-check and post-check from Cache-Control
If both `post-check` and `pre-check` are specified and set to `0`, both
are entirely ignored:
http://blogs.msdn.com/b/ieinternals/archive/2009/07/20/using-post_2d00_check-and-pre_2d00_check-cache-directives.aspx