Created
September 19, 2017 13:07
-
-
Save rbnpercy/1c43d02e16aefaeca1b5c58ede4a9257 to your computer and use it in GitHub Desktop.
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
function requestHandler(req, res) { | |
res.setHeader( 'Cache-Control', 'no-cache, no-store, max-age=0, must-revalidate' ); | |
res.setHeader( 'Pragma' , 'no-cache' ); | |
res.setHeader( 'Expires' , 'Sat, 01 Jan 2000 00:00:00 GMT' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment