no-cache harder
This commit is contained in:
parent
9ad9c9feb2
commit
d5c488196d
1 changed files with 4 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue