A key factor in making pages faster is to reduce the size of each page and their resources using compression and minification.
Next to eliminating unnecessary resource downloads, the best thing you can do to improve page-load speed is to minimize the overall download size by optimizing and compressing the remaining resources.
Content-Encoding response header is being returned and 2) check the value of that header is set to the name of a compression scheme such as
br. If you’re checking from your own machine that runs antivirus software, be aware there’s been cases where HTTP scanning features have been found to disable compression before responses reach your browser. Also, it isn’t unusual to see misconfigured servers which compress some compressible file types like HTML but forget to do it for others like CSS so be on the look out for this.
Avoid recompressing data
Content-Encoding response header is used to specify a compression scheme only for compressible files. The header should be omitted for already compressed files.
Avoid inline source maps
/* sourceMappingURL=data: in your files.
More articles in this series
➜ This article is from our comprehensive Page Speed Best Practices guide.
➜ Next article in this series: Caching