The browser cache is mainly controlled by the user, outside the control of Node. The only thing you can really do is set the max-age header for static files served by Node.js.
Assuming you are using express, cache the file in one day:
app.use(express.static(__dirname + '/public', { maxAge: 86400000 }));
source share