Enable Text Compression
What is Text Compression?
How Does Text Compression Work?
Image compression works by reducing the amount of duplicate text and redundant characters. For text-based items, like HTML, there are a lot of repetitive characters, so the ability to reduce this down can really improve page load times. One of the tools, or algorithms used, is called GZIP. There are other compression algorithms as well, Brotli and Deflate, but GZIP is the most widely used compression algorithm for web developers. These tools can reduce the file size of some items by up to 70 percent, or more in some cases. GZIP is supported by popular web servers, like Apache and NGINX, and can be easily enabled. For CMS platforms like WordPress, there are plugins that web developers can utilize to modify and compress server-side files automatically.
Whatever your method for text compression, this is just another optimization technique to help your pages load faster and deliver content quicker to your visitors. Not sure if your pages are utilizing compression? You can check by reviewing the Network tab within the Developer tools option to review a list of resources. If your page uses text compression, you should see GZIP listed in the content-encoding header. Another method is to run a quick website speed test. This test can uncover whether compression is being used, as well as identifying any other elements that could be slowing your pages down.
Lighthouse is an open-source tool that is used to run an audit against your web pages and provides scores and suggestions for improving page performance, accessibility, SEO, and more.
PageSpeed Insights is a tool created by Google that reports on the performance of a page on both mobile and desktop devices, and provides suggestions on how that page may be improved.