Created
March 26, 2017 06:24
-
-
Save anthony2025/96e9700aac598bbb59735504c82e4701 to your computer and use it in GitHub Desktop.
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
// Disable caching so we'll always get the latest comments. | |
app.use(function(req, res, next) { | |
res.setHeader('Cache-Control', 'no-cache') | |
next() | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment