WordPress优化加速:Nginx环境下优化Gzip压缩MIME类型的输出

针对WordPress优化 Gzip 配置,为方便小伙伴们看清类别,以竖列形式展示,可直接复制到 Nginx 配置当中(宝塔在49行位置)。

gzip_types
application/atom+xml
application/javascript
application/json
application/rss+xml
application/vnd.ms-fontobject
application/x-font-ttf
application/x-font-opentype
application/x-font-truetype
application/x-javascript
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/eot
font/opentype
font/otf
image/svg+xml
image/x-icon
image/vnd.microsoft.icon
text/css
text/plain
text/javascript
text/x-component;

原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/wp/315380.html

(0)
上一篇 5天前
下一篇 5天前

相关推荐

发表回复

登录后才能评论