简体   繁体   中英

Does including the no cache meta tag in an html file also prevent the js and css files linked in that html file from being cached?

I have written the no-cache meta tags in html files. Does this only prevent the html file from being cached, or also the js and css files linked in that html file?

There are bugs in both Netscape Navigator (NN) and Internet Explorer (IE).If you only use:

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

You should also add:

<META HTTP-EQUIV="Expires" CONTENT="-1">

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM