PageSpeed Insights

更新日期: 2016-01-31 阅读次数: 7683 分类: 前端

发现网站前端的问题

PageSpeed Insights

48 分, desktop. 39 分, mobile.

Leverage browser caching

Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.

Enable compression

Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.

Compressing http://.../jslib/jquery/jquery-1.11.3.min.js could save 61.2KiB (65% reduction).
Compressing http://.../css/yunxiang.css could save 17.1KiB (72% reduction).
Compressing http://.../jslib/modul/main.js could save 6.2KiB (70% reduction).

Nginx 开启 gzip 的方法

关于作者 🌱

我是来自山东烟台的一名开发者,有敢兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊, 查看更多联系方式