Questions tagged «amazon-s3»

1
如果我仅提供内容的压缩版本,是否应该添加variable accept编码标头?
我只是将静态站点从VPS移到了Amazon S3。由于S3并非网络服务器,因此我决定仅提供页面的压缩版本,因此我无法使用基于标题的逻辑。我还将Cloudfront用作CDN。 我正在http://gtmetrix.com/上测试我的页面,但由于未添加,因此记错了vary accept encoding header。因此,我检查了这是什么意思,据我所知,当我们同时提供压缩版本和未压缩版本时,这才有意义。 因此,我希望您能帮助我澄清这一点。我应该添加它吗?谢谢 :)

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.