(Deprecated) Why do I get "Enable Gzip Compression" error with GTMetrix?

Note: this article is deprecated since November 16th 2020, due to the new changes GTmetrix implemented.

If you're using Autoptimize with the option to have the images optimized by ShortPixel you may notice this error when testing your website with GTMetrix:

The cause for this is that Autoptimize uses a technique called "low quality placeholder" which will display a blurred version of the original image before loading the actual image. For example:

These images are SVG files (basically plain text) that are very small, usually under 1KB. While ideally these file would be served by the server in its compressed version, there is a technical limitation that prevents ShortPixel from doing this: a compressed version of this image cannot have the ETag HTTP header served. So we chose to have the files served with their ETag header instead of sending the compressed version of these files which are anyway very small.

Our suggestion is to ignore this message from GTmetrix as these SVG images are already around 1K and compressing them would only save a few bytes each.

As an alternative, you could just deactivate this option in Autoptimize and the GTmetrix warning should disappear:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us