【问题标题】:how to set expiry date or a maximum age http headers如何设置到期日期或最大年龄 http 标头
【发布时间】:2015-11-08 14:34:35
【问题描述】:

如何在 http headers 中设置静态资源的过期日期

利用浏览器缓存 在静态资源的 HTTP 标头中设置到期日期或最长期限会指示浏览器从本地磁盘而不是通过网络加载先前下载的资源。 将浏览器缓存用于以下可缓存资源: http://s7.addthis.com/js/300/addthis_widget.js(未指定过期时间)

【问题讨论】:

标签: apache http http-headers server


【解决方案1】:

【讨论】:

    猜你喜欢
    • 2012-10-03
    • 1970-01-01
    • 2013-12-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-30
    • 2013-04-12
    • 1970-01-01
    相关资源
    最近更新 更多