Google PageSpeed工具集

Google PageSpeed工具集是一组由Google提供的网站性能优化英语Web performance optimization工具集。[1] Google于2010年的开发者大会上推出。[2][3]PageSpeed工具集中有四个主要组成部分:PageSpeed模块英语PageSpeed Module,又名mod_pagespeed,PageSpeed Insights英语PageSpeed InsightsPageSpeed服务英语PageSpeed ServicePageSpeed Chrome开发者工具英语PageSpeed Chrome DevTools拓展。这四个部分根据Google多年来网页性能的实践识别出网站上的问题并进行自动改进。

PageSpeed模块 编辑

Mod_pagespeed是一个开源Apache HTTP ServerNginx网页服务器模块,旨在将选择的过滤器应用于页面及相关资源,如CSSJavaScriptHTML文件和图像及网页缓存。此模块的最大优点是不需要修改已有内容或工作流,[4]即意味着所有的内部优化及文件修改均在服务端上完成,将修改过的文件直接向用户提供。四十多个过滤器均符合Google网页优化的实践。

由于PageSpeed模块是一款开源库,其通常被来自世界各地的开发者更新并可被任意独立站点托管商CDN所部署。[5]

安装过程相对简单,可通过两种方法进行:安装软件包或在下列支持的平台上从源代码编译:

參考資料 编辑

  1. ^ Ivanovs, Alex. PageSpeed Module: Improving Your Websites' Performance. huffingtonpost.com/. The Huffington Post. [23 March 2015]. (原始内容存档于2016-07-14). 
  2. ^ Kerner, Sean Michael. Google Speeds Up the Web with Apache Web Server Module. serverwatch.com/news/. [23 March 2015]. (原始内容存档于2020-09-20). 
  3. ^ Ram, Ramani. Page Speed Service: Web performance, delivered. http://googlecode.blogspot.com/. [17 March 2015]. (原始内容存档于2020-11-12). 
  4. ^ Edwards, Ben. Authoring critical above-the-fold CSS. https://benedfit.com/. [23 March 2015]. (原始内容存档于2019-06-25). 
  5. ^ PageSpeed Insights SDK. https://code.google.com/. Google Inc. [23 March 2015]. (原始内容存档于2016-08-10).