We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
no-cache
1 parent 0ac18f8 commit 9428a19Copy full SHA for 9428a19
app.js
@@ -34,6 +34,7 @@ app.use(bodyParser.urlencoded({ extended: false }));
34
app.use(cookieParser());
35
36
app.get('/', function(req, res) {
37
+ res.header('Cache-Control', 'no-cache');
38
res.render('index', { currentTime: new Date() });
39
});
40
0 commit comments