Last active
August 29, 2015 14:14
-
-
Save dirkeinecke/e337a84370156f003360 to your computer and use it in GitHub Desktop.
Das folgende Beispiel zeigt, wie man das Caching im Browser serverseitig durch PHP unterbindet.
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
header('Expires: Mon, 26 Jul 1990 05:00:00 GMT'); | |
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); | |
header('Cache-Control: no-store, no-cache, must-revalidate'); | |
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