Why is GZIP compression being flagged as an SEO issue?
Answer
GZIP compression is flagged as an SEO issue when Google PageSpeed (Lighthouse) detects resources on your website that are not compressed. Siteimprove uses Google PageSpeed data for its GZIP Compression checks, so any resources identified as uncompressed may be reported as an SEO issue.
Symptoms
You may experience one or more of the following:
- GZIP Compression appears as an issue in the SEO module.
- Your website passes GZIP or text compression checks in other tools but is still flagged in Siteimprove.
- Google PageSpeed identifies uncompressed resources on your website.
Prerequisites
Before making changes to address this issue, ensure that:
- You have access to your web server configuration.
- You have permission to modify server settings or configuration files such as .htaccess, if applicable.
- You can review Google PageSpeed results for your website.
- Appropriate security practices are in place when enabling GZIP compression.
What is GZIP Compression?
GZIP compression is a way of compressing files so that they transfer faster. GZIP compression means your web pages load faster for website users.
The server sends the compressed file to the user's browser, which then downloads and unpacks it. Compression reduces the size of a file by up to 90% so that pages load faster and require less data usage. This, in turn, equates to a better user experience and higher search engine rankings.
Please ensure that when you enable GZIP compression you also have proper security practices in place. We recommend using SSL Server Test for ensuring your website meets the latest security practices.
Resolution
GZIP compression is enabled differently depending on which type of server you're using. One of the most common solutions is to add some code to the .htaccess file on your web server. You can find boilerplate GZIP configurations for popular servers in GitHub.
Once enabled, GZIP compression will be detected during the next crawl and you will see your SEO Score improve accordingly.
For further details on the issues found click on the Google PageSpeed link on the GZIP Compression page.
Cause
Siteimprove's GZIP Compression checks use data from Google PageSpeed (Lighthouse). If PageSpeed is finding resources on your site that are not compressed, then Siteimprove will report this as an issue.
When you fix the issue that PageSpeed is showing and re-crawl your site, you should no longer see this being reported in our SEO module.
You may get warnings from Google PageSpeed regarding externally hosted files that you do not have control over. In these cases, all you can do is to optimize the resources that you do have control over.
In some cases, Google does not flag an issue with text compression even though there are still files that can be compressed. They state, "If the original size of a response is less than 1.4KB, or if the potential compression savings is less than 10% of the original size, then Lighthouse does not flag that response in the results." In other words, a site can "pass" Google's text compression test threshold, but we still flag it as an issue. In this can you can still locate the issue by examining the text compression results shown in Google PageSpeed.
Additional Information
You can learn more about the PageSpeed tool and analyze a specific page on the Google PageSpeed Insights page.

If you have implemented GZIP compression successfully, the issue should no longer appear after your site is crawled again.
Did you find it helpful? Yes No
Send feedback