Created
June 8, 2013 04:03
-
-
Save rscnt/5733993 to your computer and use it in GitHub Desktop.
while i'm dumb
This file contains 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
// NO FUCKING CACHE (1.1) | |
response.setHeader("Cache-Control", "private, no-store, no-cache, must-revalidate"); | |
// NO FUCKING CACHE (1.0) | |
response.setHeader("Pragma", "no-cache"); | |
// GET THE FUCK OFF (?) | |
response.setDateHeader("Expires", 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment