clearing cache after login in IE browser

Google chrome and firebox browsers are working fine after login to clear the cache and rendering dynamic information to the form. but in the IE browser, most of the developers are expecting issues, after login the form values are not changing dynamically due to unclear cache in the browser. for that, we have to use the following simple and powerful code to eliminate the IE browser issue.

I have tried meta tag comments to clear the cache, unfortunately, it's not working.

but I have used the following set of codes, now it's working fine.

use for MEAN Stack Applications,

function(req,res){
res.header('Cache-Control', 'private, no-cache, no-store, must-revalidate');
res.header('Expires', '-1');
res.header('Pragma', 'no-cache');
}


Comments

Popular posts from this blog

How to extract information from xml using node.js

How to clone a record using custom button in salesforce

Child to parent component communication in lwc