![](/img/trans.png)
[英]Are there HTML5 compliant alteratives to the http-equiv Cache-Control and Pragma directives?
[英]Alternate of http-equiv = “pragma” and http-equiv = “cache-control” in meta tags
在用于缓存控制的JSP文件中,我使用了pragma指令作为
<meta http-equiv="pragma" content="no-cache" > <meta http-equiv="cache-control" content="no-cache" >
但是从w3c验证器验证我的页面时,出现以下错误
元素meta上的属性http-equiv的错误值编译指示。
元素元数据上的属性http-equiv的错误值缓存控制。
因此,我正在寻找在这种情况下通过w3c验证的替代方法。
PS:我是JSP和HTML的初学者。 提前致谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.