24
1
Fork 0

no-cache harder

This commit is contained in:
Danny Coates 2019-09-05 13:32:59 -07:00
parent 9ad9c9feb2
commit d5c488196d
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
1 changed files with 4 additions and 1 deletions

View File

@ -67,7 +67,10 @@ module.exports = function(app) {
}
app.use(function(req, res, next) {
res.set('Pragma', 'no-cache');
res.set('Cache-Control', 'no-cache');
res.set(
'Cache-Control',
'private, no-cache, no-store, must-revalidate, max-age=0'
);
next();
});
app.use(bodyParser.json());