diff options
Diffstat (limited to '')
-rw-r--r-- | app.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -198,6 +198,10 @@ app.get("/500", function (req, res) { //get status app.get("/status", function (req, res, next) { realtime.getStatus(function (data) { + res.set({ + 'Cache-Control': 'private', // only cache by client + 'X-Robots-Tag': 'noindex, nofollow' // prevent crawling + }); res.send(data); }); }); |