Stay organized with collections Save and categorize content based on your preferences.
Deprecated. This page was written for version 4 of the PageSpeed Insights API, which is deprecated and will be shut down in May 2019. Version 5 is the latest and provides both real-world data from the Chrome User Experience Report and lab data from Lighthouse.This rule triggers when PageSpeed Insights detects that compressible resources were served without
gzip
compression.
OverviewAll modern browsers support and automatically negotiate
gzip
compression for all HTTP requests. Enabling
gzip
compression can reduce the size of the transferred response by up to 90%, which can significantly reduce the amount of time to download the resource, reduce data usage for the client, and improve the time to first render of your pages. See
text compression with GZIPto learn more.
RecommendationsEnable and test gzip compression support on your web server. The HTML5 Boilerplate project contains
sample configuration filesfor all the most popular servers with detailed comments for each configuration flag and setting: find your favorite server in the list, look for the
gzip
section, and confirm that your server is configured with recommended settings. Alternatively, consult the documentation for your web server on how to enable compression:
Was this page helpful?
Great! Thank you for the feedback. If you have a specific, answerable question about using PageSpeed Insights, ask the question in English on Stack Overflow. For general questions, feedback, and discussion, start a thread in the mailing list. Sorry to hear that. If you have a specific, answerable question about using PageSpeed Insights, ask the question in English on Stack Overflow. For general questions, feedback, and discussion, start a thread in the mailing list.Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-03 UTC."],[[["This documentation applies to a deprecated version of PageSpeed Insights (v4) and will be shut down soon; users should refer to the latest version (v5)."],["The primary focus of this document is to explain how enabling GZIP compression can significantly improve website performance by reducing file sizes."],["PageSpeed Insights may report compression issues due to interference from proxy servers or anti-virus software affecting the headers returned to the client."],["Modern browsers inherently support GZIP compression, so enabling it on your web server is crucial for optimization."],["This page offers guidance and links to resources on how to enable GZIP compression for various web servers like Apache, Nginx, and IIS."]]],["PageSpeed Insights flags resources served without `gzip` compression, which can reduce response size by up to 90%. Modern browsers support `gzip`, improving download time and data usage. To resolve this, enable and test `gzip` on your server, using tools like `mod_deflate` for Apache, `ngx_http_gzip_module` for Nginx, or configure HTTP compression in IIS. Proxy servers or anti-virus software can interfere with compression, impacting PageSpeed Insights' results.\n"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4