0

我已经在 GT Metrix 中测试了我的网站并收到了以下结果。

添加过期标头

有 5 个静态组件没有遥远的到期日期。

http://fonts.googleapis.com/css?family=Open+Sans%3A100%2C200%2C300%2C400%2C600%2C700%2C800%7CLato%3Aregular%2C700%2Cregular%2C700%7CDancing+Script%3Aregular%2Cdefault
http://www.google-analytics.com/analytics.js
http://www.google-analytics.com/plugins/ua/ec.js
https://www.google-analytics.com/analytics.js
https://js-agent.newrelic.com/nr-1071.min.js

请让我知道如何解决这个问题。

4

1 回答 1

0

这些资源托管在您无权访问的外部服务器上。这意味着您不能将过期标头添加到这些文件中。

于 2018-06-08T15:46:10.487 回答