利用浏览器缓存aws s3和云前端

时间:2015-10-14 15:29:29

标签: amazon-web-services amazon-s3

谷歌网页速度正在抱怨我的浏览器缓存,但与此同时它也向我显示资源似乎有一个到期时间(60分钟和2小时)。

这是google pagespeed向我展示的内容。

class definition

我在s3桶中看到了什么。

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

Page Speed可能暗示到期/最大年龄太短。

考虑增加它,或者更好的是,使用URL fingerprinting并将max-age设置为 forever (例如1年)。