There are multiple resources served from same domain. Consider combining them into as few files as possible.一个域名有多个文件,可以考虑将他们压缩为尽可能少的文件。
启用gzip压缩:Enable gzip compression
Compressing the following resources with gzip could reduce their transfer size by about two thirds (~715 B).启用gzip压缩降低传输大小。
浏览器缓存:Leverage browser caching
The following resources are missing a cache expiration. Resources that do not specify an expiration may not be cached by browsers。资源没有指定过期时间,浏览器可能不会缓存。
代理缓存:Leverage proxy caching (38) ?
Resources with a "?" in the URL are not cached by most proxy caching servers:
Minimize COOKIE size
The average COOKIE size for all requests on this page is 36 B
Serve static content from a COOKIEless domain (35)
12.8 KB of COOKIEs were sent with the following static resources. Serve these static resources from a domain that does not set COOKIEs:
Specify image dimensions (10)
A width and height should be specified for all images in order to speed up page display. The following image(s) are missing a width and/or height:
网页性能部分
1、优化样式和脚本的顺序:Optimize the order of styles and scripts (4)
The following external CSS files were included after an external Javascript file in the document head. To ensure CSS files are downloaded in parallel, always include external CSS before external Javascript.
2、把CSS放到head中:Put CSS in the document head (3)
CSS in the document body adversely impacts rendering performance.
3、删除没用的CSS:Remove unused CSS rules (44)
44 rules (19%) of CSS not used by the current page.
4、Use normal CSS property names instead of vendor-prefixed ones (3)