Created
March 30, 2014 06:47
-
-
Save fmtarif/9868710 to your computer and use it in GitHub Desktop.
#php - override cache php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header("Expires: Tue, 01 Jan 2000 00:00:00 GMT"); | |
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); | |
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); | |
header("Cache-Control: post-check=0, pre-check=0", false); | |
header("Pragma: no-cache"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment