繁体   English   中英

是否在html文件中包含no cache meta标签还可以防止该html文件中链接的js和css文件被缓存?

[英]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?

我已经在html文件中编写了no-cache meta标签。 这是否只会阻止html文件的缓存,也不会阻止该html文件中链接的js和css文件?

如果仅使用:Netscape Navigator(NN)和Internet Explorer(IE)都存在错误。

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

您还应该添加:

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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