I am using MEAN stack to develop my application. The application is working fine in chrome but when the page is opened in IE, and when user request for a page, I get 304 status from the server. Because of this cached page is served back to the user.
Interesting part is, if I open IE developer tool bar & then select network tab and record various request, the app starts to work fine. I start to get 200 response from server.
So far I have tried this: app.disable('etag');
and this :
app.get('/*', function(req, res, next){
res.setHeader('Last-Modified', (new Date()).toUTCString());
next();
});
But both the options did not work for me.