Google PageSpeed Tools

Last updated

Google PageSpeed is a family of tools by Google, Inc. [1] designed to help optimize website performance. [2] It was introduced at a Developer Conference in 2010. [3] [4] There are four main components of PageSpeed family tools: PageSpeed Module (consisting of mod PageSpeed [5] for the Apache HTTP Server and NGX PageSpeed [6] for the Nginx), [7] PageSpeed Insights, PageSpeed Service, and the PageSpeed Chrome DevTools extension. These components aim to identify and automatically correct deviations from Google's Web Performance Best Practices.

Contents

PageSpeed Modules

The PageSpeed Modules are the open-source Apache HTTP Server or Nginx web server modules, which automatically apply chosen filters to pages and associated assets, such as stylesheets, JavaScript, and HTML files, as well as to images and website cache requirements. These modules do not require modifications to existing content or workflow, [8] meaning that all internal optimizations and changes to files are made on the server side, presenting modified files directly to the user. Each of the 40+ filters corresponds to one of Google's web performance best practices rules.

Since PageSpeed module is an open source library, it is frequently updated by numerous developers from all over the world and can be deployed by any individual sites, hosting providers, or CDNs. [9]

The installation can be done in two ways: from packages or build from source on the following supported platforms:

Ports

Other servers that offer a PageSpeed optimization module based on Google's Page Speed SDK:

Filters

PageSpeed module filters are settings, based on which a webpage optimization rule is applied. They can be divided into five main categories:

Speed impact

The PageSpeed Module showed the most significant impact on decreasing webpage loading times, payload size, and number of requests when compared to other options in the industry. According to several researchers, 'mod_pagespeed' can reduce loading times by up to 80%, the amount of bytes on a wire can be decreased by 30%, and the number of total requests can drop by over 20%. Since many search engines, including Google, employ a ranking algorithm which is affected by a page's loading speed, these optimizations can impact a website's placement in search results. [12] [13] As of February 2015, Google has begun testing “Slow” labels on mobile devices [14] for websites that exceed a certain amount of loading time, prompting developers to examine ways to increase a page's load speed.

PageSpeed Insights

PageSpeed Insights [15] is an online synthetic benchmark tool which helps in identifying performance best practices on any single URL, provides suggestions on a webpage's optimizations, and suggests overall ideas of how to make a website faster. [16] This tool can be accessed directly in any browser. Per URL request, it grades webpage performance on a scale from 1 to 100 and provides a report on suggested optimizations, divided into categories of high (score > 80, indicating most best practices have been implemented and there is little headroom for improvement), medium (between 60 and 79 indicating that the page is missing some common optimizations there is some headroom for optimization), and low priorities (Score below 60, indicating a non-optimized page) - About PageSpeed Insights [17]

Currently, the Page Speed Insight score is calculated on the basis of six factors:

  1. Largest Contentful Paint (LCP)
  2. Interaction to Next Paint (INP)
  3. Cumulative Layout Shift (CLS)
  4. First Contentful Paint (FCP)
  5. First Input Delay (FID)
  6. Time to First Byte (TTFB)

Recent versions of PageSpeed Insights added support [18] for measuring real-world user experience using the Chrome User Experience Report. [19] Google Chrome's Elizabeth Sweeny and Addy Osmani lead PageSpeed Insights and announced its support for Core Web Vitals in 2020. [20]

PageSpeed Chrome Extension

Pagespeed extension is an extension of Chrome Browser and is a part of Google Chrome Developer Tools. Visitors who use PageSpeed regularly can view all given metrics by PageSpeed Insights directly in a browser and download webpage resources, optimized according to web performance best practices. It has now been deprecated [21] and Google recommends the online version be used instead.

PageSpeed Service

PageSpeed service was a commercial product, provided by Google Inc. The service was offered free of charge, since it was still officially in beta version. Service included all Pagespeed Module optimizations and use of Google servers’ infrastructure. [22] Google announced the deprecation of PageSpeed service on 5 May 2015 [23] and turned it off on 3 August 2015. [24]

See also

Related Research Articles

<span class="mw-page-title-main">Apache HTTP Server</span> Open-source web server software

The Apache HTTP Server is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0. It is developed and maintained by a community of developers under the auspices of the Apache Software Foundation.

<span class="mw-page-title-main">Web server</span> Computer software that distributes web pages

A web server is computer software and underlying hardware that accepts requests via HTTP or its secure variant HTTPS. A user agent, commonly a web browser or web crawler, initiates communication by making a request for a web page or other resource using HTTP, and the server responds with the content of that resource or an error message. A web server can also accept and store resources sent from the user agent if configured to do so.

Ajax is a set of web development techniques that uses various web technologies on the client-side to create asynchronous web applications. With Ajax, web applications can send and retrieve data from a server asynchronously without interfering with the display and behaviour of the existing page. By decoupling the data interchange layer from the presentation layer, Ajax allows web pages and, by extension, web applications, to change content dynamically without the need to reload the entire page. In practice, modern implementations commonly utilize JSON instead of XML.

A web accelerator is a proxy server that reduces website access time. They can be a self-contained hardware appliance or installable software.

<span class="mw-page-title-main">Google Analytics</span> Web analytics service from Google

Google Analytics is a web analytics service offered by Google that tracks and reports website traffic and also the mobile app traffic & events, currently as a platform inside the Google Marketing Platform brand. Google launched the service in November 2005 after acquiring Urchin.

Website monitoring is the process of testing and verifying that end-users can interact with a website or web application as expected. Website monitoring are often used by businesses to ensure website uptime, performance, and functionality is as expected.

Google Developers is Google's site for software development tools and platforms, application programming interfaces (APIs), and technical resources. The site contains documentation on using Google developer tools and APIs—including discussion groups and blogs for developers using Google's developer products.

Nginx is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Russian developer Igor Sysoev and publicly released in 2004. Nginx is free and open-source software, released under the terms of the 2-clause BSD license. A large fraction of web servers use Nginx, often as a load balancer.

Google Search Console is a web service by Google which allows webmasters to check indexing status, search queries, crawling errors and optimize visibility of their websites.

<span class="mw-page-title-main">Web development tools</span> Software used to test the UI of a website or web application

Web development tools allow web developers to test, modify and debug their websites. They are different from website builders and integrated development environments (IDEs) in that they do not assist in the direct creation of a webpage, rather they are tools used for testing the user interface of a website or web application.

<span class="mw-page-title-main">Internet Explorer 9</span> Web browser for Windows released in 2011

Internet Explorer 9 or IE9 is the ninth version of the Internet Explorer web browser for Windows. It was released by Microsoft on March 14, 2011, as the ninth version of Internet Explorer and the successor to Internet Explorer 8. Microsoft released Internet Explorer 9 as a major out-of-band version that was not tied to the release schedule of any particular version of Windows, unlike previous versions. It is the first version of Internet Explorer not to be bundled with a Windows operating system, although some OEMs have installed it with Windows 7 on their PCs. Internet Explorer 9 is the last version that is called Windows Internet Explorer. The software was rebranded simply as Internet Explorer starting in 2012 with the release of Internet Explorer 10.

<span class="mw-page-title-main">Google Chrome Frame</span> Plug-in designed for Internet Explorer based on the open-source Chromium project

Google Chrome Frame was a plug-in designed for Internet Explorer based on the open-source Chromium project, first announced on September 22, 2009. It went stable in September 2010, on the first birthday of the project. It was discontinued on February 25, 2014 and is no longer supported.

SPDY is an obsolete open-specification communication protocol developed for transporting web content. SPDY became the basis for HTTP/2 specification. However, HTTP/2 diverged from SPDY and eventually HTTP/2 subsumed all usecases of SPDY. After HTTP/2 was ratified as a standard, major implementers, including Google, Mozilla, and Apple, deprecated SPDY in favor of HTTP/2. Since 2021, no modern browser supports SPDY.

Web performance refers to the speed in which web pages are downloaded and displayed on the user's web browser. Web performance optimization (WPO), or website optimization is the field of knowledge about increasing web performance.

<span class="mw-page-title-main">Amazon Silk</span> Web browser for Amazon Fire

Amazon Silk is a web browser developed by Amazon. It was launched in November 2011 for Amazon Fire and Fire Phone, and a Fire TV version was launched in November 2017. The addition of Silk to the Echo Show was announced at an Amazon event in September 2018.

HTTP/2 is a major revision of the HTTP network protocol used by the World Wide Web. It was derived from the earlier experimental SPDY protocol, originally developed by Google. HTTP/2 was developed by the HTTP Working Group of the Internet Engineering Task Force (IETF). HTTP/2 is the first new version of HTTP since HTTP/1.1, which was standardized in RFC 2068 in 1997. The Working Group presented HTTP/2 to the Internet Engineering Steering Group (IESG) for consideration as a Proposed Standard in December 2014, and IESG approved it to publish as Proposed Standard on February 17, 2015. The initial HTTP/2 specification was published as RFC 7540 on May 14, 2015.

Google APIs are application programming interfaces (APIs) developed by Google which allow communication with Google Services and their integration to other services. Examples of these include Search, Gmail, Translate or Google Maps. Third-party apps can use these APIs to take advantage of or extend the functionality of the existing services.

<span class="mw-page-title-main">WebAssembly</span> Cross-platform assembly language and bytecode designed for execution in web browsers

WebAssembly defines a portable binary-code format and a corresponding text format for executable programs as well as software interfaces for facilitating interactions between such programs and their host environment.

Google Web Light, introduced in 2015, was a service offered by Google for faster browsing within its Android mobile browser Chrome. It detected slow Internet connections, such as 2G, and switched to Google proxy servers with built-in data compression. It could speed up loading times for text-based websites. These pages also had the advantage of being less taxing on the hardware of entry-level devices with less processing power.

<span class="mw-page-title-main">Google Lighthouse</span> Open-source, automated tool for measuring the quality of web pages

Google Lighthouse is an open-source, automated tool for measuring the quality of web pages. It can be run against any web page, public or, requiring authentication. Google Lighthouse audits performance, accessibility, and search engine optimization factors of web pages, this is the major difference from Google PageSpeed, the Google Lighthouse provides more detail information. It also includes the ability to test progressive web applications for compliance with standards and best practices. Google Lighthouse is developed by Google and aims to help web developers, the tool can be run by using Chrome browser extension or by using terminal (command) for batch auditing a list of URLs. Google's recommendation is for using the online version of Page Speed Insights as of 15th May 2015.

References

  1. "About PageSpeed Insights". Google Developers. Retrieved 2022-08-13.
  2. Ivanovs, Alex (16 April 2014). "PageSpeed Module: Improving Your Websites' Performance". huffingtonpost.com/. The Huffington Post. Retrieved 23 March 2015.
  3. Kerner, Sean Michael (4 November 2010). "Google Speeds Up the Web with Apache Web Server Module". serverwatch.com/news/. Retrieved 23 March 2015.
  4. Ram, Ramani (2011-07-29). "Page Speed Service: Web performance, delivered". googlecode.blogspot.com/. Retrieved 17 March 2015.
  5. "Github". github.com. Google Inc. Retrieved 6 August 2020.
  6. "Github". github.com. Google Inc. Retrieved 6 August 2020.
  7. "Apache Incubator". modpagespeed.com/. Google Inc. Retrieved 6 August 2020.
  8. Edwards, Ben (2014-07-28). "Authoring critical above-the-fold CSS". benedfit.com. Retrieved 23 March 2015.
  9. "PageSpeed Insights SDK". code.google.com. Google Inc. Retrieved 23 March 2015.
  10. "ats_pagespeed". iispeed.com/. IISpeed B.V. Archived from the original on 2015-05-25. Retrieved 2015-05-25.
  11. "IIS WebSpeed". iiswebspeed.com/. IISpeed B.V.
  12. Enge, Eric (2011-03-06). "Case Study: Impact of Code Cleanup on Site Traffic". searchenginewatch.com/. Search Engine Watch. Retrieved 23 March 2015.
  13. Kuchler, Margaret (19 May 2011). "The Growing Need For Speed: How Site Performance Increasingly Influences Search Rankings". retailtouchpoints.com/. Retail Touch Points. Retrieved 23 March 2015.
  14. Barry, Shwartz (2015-02-25). "Google Testing A Red "Slow" Label In The Search Results For Slower Sites". searchengineland.com/. Retrieved 17 March 2015.
  15. "PageSpeed Insights". PageSpeed Insights. Google Inc.
  16. Wagner, Janet (2015-01-15). "GOOGLE RELEASES PAGESPEED INSIGHTS API V2". programmableweb.com/. Programmable Web. Retrieved 23 March 2015.
  17. Burton, Clark (2016-11-08). "A Technical Guide to Google's PageSpeed Insights Reports" . Retrieved 12 July 2018.
  18. "Real-world user experience data". PageSpeed Insights. Google Inc.
  19. "Chrome UX Report". Chrome User Experience Report. Google Inc.
  20. "Tools to measure Core Web Vitals". Web Vitals Tools. Google Inc.
  21. "PageSpeed Insights | PageSpeed Insights | Google Developers". Google Developers. Retrieved 2016-09-08.
  22. Lardinois, Frederic (3 August 2012). "Google Updates PageSpeed Service, Promises To "Turbocharge Your Website"". techcrunch.com. The Tech Crunch. Retrieved 23 March 2015.
  23. "Google Groups". groups.google.com. Retrieved 7 February 2019.
  24. "Turndown information for PageSpeed Service - PageSpeed Service". Google Developers. Retrieved 7 February 2019.