PageSpeed Insights

发布时间: 2016-01-31 01:09:18 作者: 大象笔记

发现网站前端的问题

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 的方法

我是一名山东烟台的开发者,联系作者