【问题标题】:Scope of Cache-Control meta tag in HTML fileHTML 文件中 Cache-Control 元标记的范围
【发布时间】:2015-05-06 21:48:24
【问题描述】:

声明时

<meta http-equiv="Cache-Control" content="no-store">

在 HTML 文件的 head 标记内,该语句的作用域是什么?

这是否意味着本文档中引用的所有其他文件(如 JavaScript 或 CSS 文件)也不应该被缓存?

还是仅仅引用当前的 HTML 文件?

【问题讨论】:

标签: html http caching meta cache-control


【解决方案1】:

http-equiv 属性为 内容属性的信息/值。

http-equiv 属性可用于模拟 HTTP 响应 标题。

HTML http-equiv Attribute

As mentioned in another answer这似乎只影响当前页面。

【讨论】:

    猜你喜欢
    • 2017-02-03
    • 1970-01-01
    • 2012-07-06
    • 2022-11-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-04-13
    • 1970-01-01
    相关资源
    最近更新 更多