{"id":2681,"date":"2024-09-02T14:17:14","date_gmt":"2024-09-02T14:17:14","guid":{"rendered":"https:\/\/rabbitloader.com\/articles\/?p=2681"},"modified":"2025-08-08T09:02:09","modified_gmt":"2025-08-08T09:02:09","slug":"enable-text-compression","status":"publish","type":"post","link":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/","title":{"rendered":"How To Enable Text Compression To Achieve A Good PageSpeed Insights Score"},"content":{"rendered":"<html lang=\"en\"><head><\/head><body><p>When auditing a website\u2019s PageSpeed performance, you often encounter one of the most common recommendations: \u201c<strong>Enable text compression<\/strong>\u201d in Google PSI, <a href=\"https:\/\/gtmetrix.com\/\">GTMetrix<\/a>, or other PageSpeed analyzing tools to improve the website\u2019s performance. Enabling text compression can significantly reduce the page size and speed up a website.<\/p>\n\n\n\n<p>However, due to its difficulties, most technical SEO experts and website owners often avoid enabling text compression. This can help you achieve a faster-loading website and accordingly positively affect your conversion rate.<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1024x535.jpg\" alt=\"Enable Text Compression\" class=\"wp-image-2685\" srcset=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1024x535.jpg 1024w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-300x157.jpg 300w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-768x401.jpg 768w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Let\u2019s understand text compression and its importance. Then, we will show you the working mechanism of the most common two types of compression, namely Gzip and Brotli and their differences.\u00a0<\/p>\n\n\n\n<p>Finally, we will wrap up by exploring how RabbitLoader helps you to enable text compression for your website and improve PageSpeed performance without any coding.<\/p>\n\n\n\n<p>\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"what_is_text_compression\"><\/span>What Is Text Compression?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Text compression (also known as HTTP compression) is a web optimization method that reduces the size of text-based resource files like HTML, CSS and any scripting language like JavaScript.<\/p>\n\n\n\n<p>This method doesn\u2019t change the functionality of the resource files, but it compresses the file size. Hence, a user\u2019s browser can quickly load and render the file, speeding up the website.<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n\n\n    <meta charset=\"UTF-8\"\/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\/>\n    <title>Document<\/title>\n    <style>\n        body {\n            font-family: Arial, Helvetica, sans-serif;\n        }\n        .main-card-for-some {\n            background-color: #e9f3ff;\n            border-radius: 0.375rem;\n            height: 350px;\n            width: 600px;\n            text-align: center;\n            display: flex;\n            justify-content: center;\n            align-items: center;\n        }\n        .heading-card {\n            font-size: 1.60rem;\n            font-weight: 600;\n            letter-spacing: 0.025em;\n            line-height: 2rem;\n        }\n        .up-mt-1 {\n            margin-top: 3.564587rem;\n            margin-bottom: 2.75rem;\n        }\n        .btn-blue {\n            font-size: 1rem;\n            line-height: 1rem;\n            font-weight: bold;\n            background-color: rgb(37 99 235);\n            color: white !important;\n            padding-left: 1.5rem;\n            padding-right: 1.5rem;\n            margin-top: 1rem;\n            border-radius: 0.25rem;\n            padding-top: 0.75rem;\n            padding-bottom: 0.75rem;\n            border: 0;\n            text-decoration:none !important;\n        }\n        \n        .btn-blue:hover{\n        \tbackground-color: rgb(30 64 175);\n        }\n\n        .card-caption-body {\n            display: flex;\n            font-size: 0.75rem;\n            line-height: 1rem;\n            justify-content: space-evenly;\n            margin-top: 1.5rem;\n            font-weight: 300;\n            column-gap:1.0rem;\n        }\n\n        .card-caption-text {\n            display: flex;\n            column-gap: 0.5rem;\n            align-items: center;\n        }\n    <\/style>\n\n\n<main style=\"display:flex;justify-content:center;\">\n    <div class=\"main-card-for-some\">\n        <div>\n            <p class=\"heading-card\">Get The Best PageSpeed Score <br\/>For Your WordPress Website<\/p>\n            <div class=\"up-mt-1\">\n                <a href=\"https:\/\/linke.to\/ke3PO\" class=\"btn-blue\">Install Now<\/a>\n            <\/div>\n            <div class=\"card-caption-body\">\n                <div class=\"card-caption-text\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" x=\"0px\" y=\"0px\" width=\"10\" height=\"10\" viewBox=\"0,0,256,256\">\n                        <g fill=\"#007CFE\" fill-rule=\"nonzero\" stroke=\"none\" stroke-width=\"1\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-miterlimit=\"10\" stroke-dasharray=\"\" stroke-dashoffset=\"0\" font-family=\"none\" font-weight=\"none\" font-size=\"none\" text-anchor=\"none\" style=\"mix-blend-mode: normal\"><g transform=\"scale(8.53333,8.53333)\"><path d=\"M26.98047,5.99023c-0.2598,0.00774 -0.50638,0.11632 -0.6875,0.30273l-15.29297,15.29297l-6.29297,-6.29297c-0.25082,-0.26124 -0.62327,-0.36647 -0.97371,-0.27511c-0.35044,0.09136 -0.62411,0.36503 -0.71547,0.71547c-0.09136,0.35044 0.01388,0.72289 0.27511,0.97371l7,7c0.39053,0.39037 1.02353,0.39037 1.41406,0l16,-16c0.29576,-0.28749 0.38469,-0.72707 0.22393,-1.10691c-0.16075,-0.37985 -0.53821,-0.62204 -0.9505,-0.60988z\"><\/path><\/g><\/g>\n                    <\/svg>\n                    All in One Optimization Plugin\n                <\/div>\n                <div class=\"card-caption-text\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" x=\"0px\" y=\"0px\" width=\"10\" height=\"10\" viewBox=\"0,0,256,256\">\n                        <g fill=\"#007CFE\" fill-rule=\"nonzero\" stroke=\"none\" stroke-width=\"1\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-miterlimit=\"10\" stroke-dasharray=\"\" stroke-dashoffset=\"0\" font-family=\"none\" font-weight=\"none\" font-size=\"none\" text-anchor=\"none\" style=\"mix-blend-mode: normal\"><g transform=\"scale(8.53333,8.53333)\"><path d=\"M26.98047,5.99023c-0.2598,0.00774 -0.50638,0.11632 -0.6875,0.30273l-15.29297,15.29297l-6.29297,-6.29297c-0.25082,-0.26124 -0.62327,-0.36647 -0.97371,-0.27511c-0.35044,0.09136 -0.62411,0.36503 -0.71547,0.71547c-0.09136,0.35044 0.01388,0.72289 0.27511,0.97371l7,7c0.39053,0.39037 1.02353,0.39037 1.41406,0l16,-16c0.29576,-0.28749 0.38469,-0.72707 0.22393,-1.10691c-0.16075,-0.37985 -0.53821,-0.62204 -0.9505,-0.60988z\"><\/path><\/g><\/g>\n                    <\/svg>\n                    No Coding Knowledge Required\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/main>\n\n\n\n\n\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Here is an example of an HTML document that includes HTML code, two CSS styles, and a JavaScript function.\u00a0\u00a0<\/p>\n\n\n\n<p><strong>The HTML code:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code language-html\"><code>&lt;html&gt;\n\n&lt;head&gt;\n\n&lt;title&gt;&gt;An HTML document &lt;\/HTML&gt;\n\n\u00a0\u00a0\u00a0\u00a0&lt;style&gt;\n\n\u00a0\u00a0\u00a0\u00a0\/* RabbitLoader-banner is added on the website\u2019s homepage only *\/\n\n\u00a0\u00a0\u00a0\u00a0.RabbitLoader-banner { font-size: 250% }\n\n\u00a0\u00a0\u00a0\u00a0.RabbitLoader-banner { width: 175% }\n\n\u00a0\u00a0\u00a0\u00a0.RabbitLoader-banner { color: Red }\n\n&lt;\/style&gt;\n\n&lt;\/head&gt;\n\n&lt;body&gt;\n\n\u00a0\u00a0\u00a0\u00a0&lt;!-- starting of the RabbitLoader banner --&gt;\n\n\u00a0\u00a0\u00a0\u00a0&lt;div&gt;...&lt;\/div&gt;\n\n\u00a0\u00a0\u00a0\u00a0&lt;!-- Ending of the rabbitLoader banner --&gt;\n\n\u00a0\u00a0\u00a0\u00a0&lt;script&gt;\n\n\u00a0\u00a0\u00a0\u00a0banner_Scripts(); \/\/ random scripts used on the page\n\n\u00a0\u00a0\u00a0\u00a0&lt;\/script&gt;\n\n&lt;\/body&gt;\n\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p>In the above code, you can clearly see the \u2018.RabbitLoader-banner\u2019 is used three times, which increases the character of the coding, unnecessarily using the coding file size. Hence, after enabling the text compression, the file size will be reduced. Here\u2019s the compressed code:<\/p>\n\n\n\n<pre class=\"wp-block-code language-html\"><code><strong>&lt;html&gt;&lt;head&gt;&lt;style&gt;.RabbitLoader-banner{font-size:150%;width:75%;color:Red}&lt;\/style&gt;&lt;\/head&gt;&lt;body&gt;&lt;div&gt;...&lt;\/div&gt;&lt;script&gt;banner_Scripts();&lt;\/script&gt;&lt;\/body&gt;&lt;\/html&gt;<\/strong>\u00a0<\/code><\/pre>\n\n\n\n<p>The compression algorithm occurs in the server so that when a browser requests the content, it can be served quickly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"why_do_you_need_to_enable_text_compression\"><\/span>Why Do You Need To Enable Text Compression?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>While the ultimate goal of a website owner is to achieve a good conversion rate, PageSpeed plays a crucial role in this along with other factors.\u00a0<\/p>\n\n\n\n<p>The large size of a resource file negatively impacts the <a href=\"https:\/\/rabbitloader.com\/articles\/pagespeed-insights\">PageSpeed performance<\/a>. Thus, in order to improve the PageSpeed performance of a website which is crucial for organic rankings, enabling text compression is essential.\u00a0<\/p>\n\n\n\n<p>Here we will discuss the importance of enabling text compression which includes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Reducing the Total Page Size\u00a0<\/strong><\/li>\n\n\n\n<li><strong>Improving the Core Web Vitals Metrics\u00a0<\/strong><\/li>\n\n\n\n<li><strong>Enhancing the User Experience<\/strong><\/li>\n\n\n\n<li><strong>Improving the Organic Search Rankings<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"why_do_you_need_to_enable_text_compression-2\"><\/span>Why Do You Need To Enable Text Compression?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>While the ultimate goal of a website owner is to achieve a good conversion rate, PageSpeed plays a crucial role in this along with other factors.\u00a0<\/p>\n\n\n\n<p>The large size of a resource file negatively impacts the PageSpeed performance. Thus, in order to improve the PageSpeed performance of a website, enabling text compression is essential.\u00a0<\/p>\n\n\n\n<p>Here we will discuss the importance of enabling text compression which includes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Reduce the total page size\u00a0<\/strong><\/li>\n\n\n\n<li><strong>Improve the core web vitals metrics\u00a0<\/strong><\/li>\n\n\n\n<li><strong>Enhance the user experience<\/strong><\/li>\n\n\n\n<li><strong>Improve the SEO rankings<\/strong><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"reducing_the_total_page_size\"><\/span>Reducing The Total Page Size\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A website\u2019s page loading time depends on its total page size. A large page size typically increases the page loading time. That is why Google always suggests keeping the page size within 1600 KB.\u00a0<\/p>\n\n\n\n<p>While the page file size is the summation of all resource file sizes, enabling text compression can significantly reduce the total page file size by reducing the file size of HTML, CSS and JavaScript files and improve the page speed performance of the website.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"improving_the_core_web_vitals_metrics\"><\/span>Improving The Core Web Vitals Metrics\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><a href=\"https:\/\/rabbitloader.com\/articles\/core-web-vitals-ranking-factor\">Core Web Vitals<\/a> are the performance metrics, developed by Google, that are used to measure the Website\u2019s PageSpeed performance. As SEO experts consider the <a href=\"https:\/\/rabbitloader.com\/articles\/core-web-vitals\">Core Web Vitals<\/a> metrics as an essential ranking factor, improving Core Web Vitals can increase the organic traffic and consequently the page views by improving the organic search rankings.<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Core-Web-Vitals-Metrix-1024x535.jpg\" alt=\"Core Web Vitals Metrix\" class=\"wp-image-2687\" srcset=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Core-Web-Vitals-Metrix-1024x535.jpg 1024w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Core-Web-Vitals-Metrix-300x157.jpg 300w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Core-Web-Vitals-Metrix-768x401.jpg 768w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Core-Web-Vitals-Metrix.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Data compression also improves the core web vitals performance, especially the <a href=\"https:\/\/rabbitloader.com\/articles\/largest-contentful-paint\/\">Largest Contentful Paint<\/a> (LCP), which measures the initial page loading time, the Cumulative Layout Shift, which determines a page\u2019s visual stability, and the <a href=\"https:\/\/rabbitloader.com\/articles\/inp\">Interaction to Next Paint<\/a> (INP), which measures the page\u2019s responsiveness.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"enhancing_the_user_experience\"><\/span>Enhancing The User Experience<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Every user appreciates a fast-loading and well-functional website. However, if the website&#39;s page loading time is slow, you may lose potential customers, which can also affect the website\u2019s conversion rate.\u00a0<\/p>\n\n\n\n<p>Enabling text compression can not only reduce the file size but also improve the website\u2019s speed. Consequently, the bounce rate will decrease, leading to a much better conversion rate.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"improve_the_seo_rankings\"><\/span>Improve the SEO Rankings\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/SEO-ranking-1024x535.jpg\" alt=\"SEO ranking\" class=\"wp-image-2688\" srcset=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/SEO-ranking-1024x535.jpg 1024w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/SEO-ranking-300x157.jpg 300w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/SEO-ranking-768x401.jpg 768w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/SEO-ranking.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Enabling compression improves Core Web Vitals and page speed performance. These two are essential Google ranking factors. Hence enabling text compression, can consequently improve search engine rankings, which would lead to an increase in organic traffic.\u00a0\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"type_of_text_compression\"><\/span>Type Of Text Compression\u00a0\u00a0\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>According to Google&#39;s suggestion, you can use three compression algorithms to reduce the text-based resource file size.\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Gzip compression<\/strong><\/li>\n\n\n\n<li><strong>Brotli compression<\/strong><\/li>\n\n\n\n<li><strong>Deflate compression<\/strong> (since deflate is not popular we are not gonna discuss it.)<\/li>\n<\/ul>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Gzip-brotli-1024x535.jpg\" alt=\"Gzip brotli\" class=\"wp-image-2686\" srcset=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Gzip-brotli-1024x535.jpg 1024w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Gzip-brotli-300x157.jpg 300w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Gzip-brotli-768x401.jpg 768w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Gzip-brotli.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"how_brotli_method_compress_a_resource_file\"><\/span>How Brotli Method Compress A Resource File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In order to achieve a good compression ratio, Google developed the Brotli method which is specially designed for text compression. Along with the LZ77 and <a href=\"https:\/\/www.geeksforgeeks.org\/huffman-coding-greedy-algo-3\/\">Huffman coding<\/a>, the Brotli compression method also uses a second-order context model with a static dictionary to improve the compression ratio.\u00a0<\/p>\n\n\n\n<p>Let\u2019s see how Brotli compression works:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Static Dictionary\u00a0<\/strong><\/li>\n<\/ul>\n\n\n\n<p>The main advantage of the Brotli compression method is it uses a static library which has a set of words, phrases and sub-strings that are commonly used in web development. During parsing the resource file, the Brotli compression method replaces those with the shortened data and reduces the file size.\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Huffman Coding<\/strong><\/li>\n<\/ul>\n\n\n\n<p>By employing the Huffman coding, the Brotli compression method creates an encoding table to reduce the resource file size. Brotli dynamically maintains these codes when the compression is processed in order to increase efficiency.\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Context Modeling\u00a0<\/strong><\/li>\n<\/ul>\n\n\n\n<p>To make the compressing process more efficient, the Brotli method adds context modelling to identify the data or content structure and understand the pattern. By understanding the context, the Brotli method compresses the file effectively<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>LZ77 Algorithm\u00a0<\/strong><\/li>\n<\/ul>\n\n\n\n<p>The Brotli compression method uses the <a href=\"https:\/\/cs.stanford.edu\/people\/eroberts\/courses\/soco\/projects\/data-compression\/lossless\/lz77\/index.htm\">LZ77<\/a> algorithm (also known as Lempel-Ziv 1977) to reduce the resource file size by reducing the code redundancy (duplicating the string data).<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1-1024x535.jpg\" alt=\"Enable Text Compression\" class=\"wp-image-2692\" srcset=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1-1024x535.jpg 1024w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1-300x157.jpg 300w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1-768x401.jpg 768w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Brotli compression methods offer 3 compression levels such as <strong>Generic mode<\/strong> (if you are using WordPress, this mode is set to default by WordPress hosting), Text mode (this mode is specially designed for the compression of the text file efficiently), and font mode (like text mode, this mode is specially designed for compression the web fonts efficiently).\u00a0\u00a0<\/p>\n\n\n\n<p>The Brotli compression method reduces the HTML document size by around 20%, whereas it reduces the CSS file size by approximately 16%. In the case of JavaScript files, the Brotli compression method reduces the file size by 15%.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"how_gzip_method_compress_a_resource_file\"><\/span>How Gzip Method Compress A Resource File\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After receiving an HTTP request from the browser, before implementing the Gzip algorithm, first, the server checks whether the browser supports any of this algorithm or not. If the browser supports the Gzip compression, then the server reduces the text-based resource file size by compressing them.\u00a0<\/p>\n\n\n\n<p>The Gzip compression method is mainly based on the LZ77 and Huffman coding. In the Gzip compression method, the first LZ77 coding algorithm is executed which reduces the data redundancy of your resource file. And finally Huffman coding is used to further compress the resource file and reduce the file size. For more details visit:\u00a0<\/p>\n\n\n\n<p>The Gzip compression method offers a total of 9 compression levels where compression level 9 provides the best compression ratio. In the Gzip method, you can achieve a lossless compression which means it reduces the data without discarding any important information. According to the Imperva website, by enabling the Gzip compression method, you can reduce upto 80% file size.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"understanding_the_difference_between_gzip_and_brotli_compression\"><\/span>Understanding The Difference Between Gzip And Brotli Compression\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>At this point, we have already discussed the most common two text file compression methods: Gzip and Brotli. Now, the question may arise: What is the difference between these two compression methods?\u00a0<\/p>\n\n\n\n<p>While Gzip and Brotli both are used to compress the resource file size, there are some differences between their functionality. Here we will discuss the difference between <a href=\"https:\/\/rabbitloader.com\/articles\/brotli-vs-gzip\/\">Gzip and Brotli<\/a>. We believe that after reading this all confusion will clear up.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Gzip Compression<\/strong><\/td><td><strong>Brotli Compression\u00a0<\/strong><\/td><\/tr><tr><td>Gzip is the most traditional compression method to reduce the file size.\u00a0<\/td><td>On the other hand, Brotli compression is the modern compression method developed by two Google employees:\u00a0 Jyrki Alakuijala and Zoltan Szabadka.\u00a0<\/td><\/tr><tr><td>In the above, you can see that the Gzip compression method uses LZ77 and the Huffman coding algorithm.\u00a0\u00a0\u00a0<\/td><td>Brotli compression uses LZ77 and Huffman coding algorithms along with the advanced static dictionary and context modelling.\u00a0<\/td><\/tr><tr><td>Most of the modern browsers support the Gzip algorithm.\u00a0<\/td><td>Compared with the Gzip compression, fewer browsers support Brotli compression.\u00a0\u00a0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"enable_gzip_compression_manually\"><\/span>Enable GZIP Compression Manually\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You can enable Gzip compression manually. but enabling Gzip compression requires extensive technical knowledge. Websites that have an Apache server can easily enable the Gzip compression method via the .htaccess file. To do so, you just need to paste the code below.\u00a0<\/p>\n\n\n\n<p>&#34;&lt;IfModule mod_deflate.c&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/javascript\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/rss+xml\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/vnd.ms-fontobject\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/x-font\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>\u00a0AddOutputFilterByType DEFLATE application\/x-font-opentype\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/x-font-otf\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/x-font-truetype\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/x-font-ttf\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/x-javascript\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/xhtml+xml\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE application\/xml\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE font\/opentype\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE font\/otf\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE font\/ttf\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE image\/svg+xml\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE image\/x-icon\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE text\/css\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE text\/html\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE text\/javascript\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE text\/plain\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n\n\n\n<p>AddOutputFilterByType DEFLATE text\/xml<\/p>\n\n\n\n<p>&lt;\/IfModule&gt;&#34;<\/p>\n\n\n\n<p>After pasting the code in the .htaccess file, you just need to save the file.\u00a0\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"enable_text_compression_with_rabbitloader\"><\/span>Enable Text Compression With RabbitLoader\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>As you can see above, manually enabling text compression can be daunting if you are not interested in coding wizardry. Now, how can you do it without breaking a sweat?\u00a0<\/p>\n\n\n\n<p>Fortunately, RabbitLoader has an easy solution for you.\u00a0<\/p>\n\n\n\n<p>Like the other web optimization techniques, in the case of compression also, RabbitLoader produces the best result for its users.\u00a0<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-text-Compress-1-1024x535.jpg\" alt=\"Enable text Compress\" class=\"wp-image-2694\" srcset=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-text-Compress-1-1024x535.jpg 1024w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-text-Compress-1-300x157.jpg 300w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-text-Compress-1-768x401.jpg 768w, https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-text-Compress-1.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>As you see, in brotli compression, you can achieve a better compression ratio. In order to achieve a better result, RabbitLoader enables the brotli compression on your website. Hence, when a user requests a web page, the server can send the compressed resource files, improving the website\u2019s page loading time.\u00a0\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"conclusion\"><\/span>Conclusion\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this blog, we have discussed every detail of text compression, including what text compression is and its importance. We will also see the working mechanism of the most common 2 text compression methods: Gzip compression methods and Brotli compression methods and understand their differences.\u00a0<\/p>\n\n\n\n<p>Enabling the text compression method can significantly reduce the total page file size which can improve the page loading time. However, manually implementing text compression can demand a lot of technical things. But, you already have seen, using RabbitLoader, how easily you can implement text compression without any technical knowledge and effort.\u00a0<\/p>\n\n\n\n<p>Not only text compression, RabbitLoader also implement all necessary optimization techniques to achieve a 90+ PageSpeed score.\u00a0<\/p>\n\n\n\n<p>Hence, if your website also takes a lot of time to load and you have lost potential customers because of this, don\u2019t waste your time. Install RabbitLoader and speed up your website.\u00a0<\/p>\n\n\n\n<p><strong>Note:<\/strong> Apart from the WordPress website, RabbitLoader is also available for Shopify, Laravel and PHP-based websites.\u00a0\u00a0<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n\n\n    <meta charset=\"UTF-8\"\/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\/>\n    <title>Document<\/title>\n    <style>\n        body {\n            font-family: Arial, Helvetica, sans-serif;\n        }\n        .main-card-for-some {\n            background-color: #e9f3ff;\n            border-radius: 0.375rem;\n            height: 350px;\n            width: 600px;\n            text-align: center;\n            display: flex;\n            justify-content: center;\n            align-items: center;\n        }\n        .heading-card {\n            font-size: 1.60rem;\n            font-weight: 600;\n            letter-spacing: 0.025em;\n            line-height: 2rem;\n        }\n        .up-mt-1 {\n            margin-top: 3.564587rem;\n            margin-bottom: 2.75rem;\n        }\n        .btn-blue {\n            font-size: 1rem;\n            line-height: 1rem;\n            font-weight: bold;\n            background-color: rgb(37 99 235);\n            color: white !important;\n            padding-left: 1.5rem;\n            padding-right: 1.5rem;\n            margin-top: 1rem;\n            border-radius: 0.25rem;\n            padding-top: 0.75rem;\n            padding-bottom: 0.75rem;\n            border: 0;\n            text-decoration:none !important;\n        }\n        \n        .btn-blue:hover{\n        \tbackground-color: rgb(30 64 175);\n        }\n\n        .card-caption-body {\n            display: flex;\n            font-size: 0.75rem;\n            line-height: 1rem;\n            justify-content: space-evenly;\n            margin-top: 1.5rem;\n            font-weight: 300;\n            column-gap:1.0rem;\n        }\n\n        .card-caption-text {\n            display: flex;\n            column-gap: 0.5rem;\n            align-items: center;\n        }\n    <\/style>\n\n\n<main style=\"display:flex;justify-content:center;\">\n    <div class=\"main-card-for-some\">\n        <div>\n            <p class=\"heading-card\">Get The Best PageSpeed Score <br\/>For Your WordPress Website<\/p>\n            <div class=\"up-mt-1\">\n                <a href=\"https:\/\/linke.to\/ke3PO\" class=\"btn-blue\">Install Now<\/a>\n            <\/div>\n            <div class=\"card-caption-body\">\n                <div class=\"card-caption-text\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" x=\"0px\" y=\"0px\" width=\"10\" height=\"10\" viewBox=\"0,0,256,256\">\n                        <g fill=\"#007CFE\" fill-rule=\"nonzero\" stroke=\"none\" stroke-width=\"1\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-miterlimit=\"10\" stroke-dasharray=\"\" stroke-dashoffset=\"0\" font-family=\"none\" font-weight=\"none\" font-size=\"none\" text-anchor=\"none\" style=\"mix-blend-mode: normal\"><g transform=\"scale(8.53333,8.53333)\"><path d=\"M26.98047,5.99023c-0.2598,0.00774 -0.50638,0.11632 -0.6875,0.30273l-15.29297,15.29297l-6.29297,-6.29297c-0.25082,-0.26124 -0.62327,-0.36647 -0.97371,-0.27511c-0.35044,0.09136 -0.62411,0.36503 -0.71547,0.71547c-0.09136,0.35044 0.01388,0.72289 0.27511,0.97371l7,7c0.39053,0.39037 1.02353,0.39037 1.41406,0l16,-16c0.29576,-0.28749 0.38469,-0.72707 0.22393,-1.10691c-0.16075,-0.37985 -0.53821,-0.62204 -0.9505,-0.60988z\"><\/path><\/g><\/g>\n                    <\/svg>\n                    All in One Optimization Plugin\n                <\/div>\n                <div class=\"card-caption-text\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" x=\"0px\" y=\"0px\" width=\"10\" height=\"10\" viewBox=\"0,0,256,256\">\n                        <g fill=\"#007CFE\" fill-rule=\"nonzero\" stroke=\"none\" stroke-width=\"1\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-miterlimit=\"10\" stroke-dasharray=\"\" stroke-dashoffset=\"0\" font-family=\"none\" font-weight=\"none\" font-size=\"none\" text-anchor=\"none\" style=\"mix-blend-mode: normal\"><g transform=\"scale(8.53333,8.53333)\"><path d=\"M26.98047,5.99023c-0.2598,0.00774 -0.50638,0.11632 -0.6875,0.30273l-15.29297,15.29297l-6.29297,-6.29297c-0.25082,-0.26124 -0.62327,-0.36647 -0.97371,-0.27511c-0.35044,0.09136 -0.62411,0.36503 -0.71547,0.71547c-0.09136,0.35044 0.01388,0.72289 0.27511,0.97371l7,7c0.39053,0.39037 1.02353,0.39037 1.41406,0l16,-16c0.29576,-0.28749 0.38469,-0.72707 0.22393,-1.10691c-0.16075,-0.37985 -0.53821,-0.62204 -0.9505,-0.60988z\"><\/path><\/g><\/g>\n                    <\/svg>\n                    No Coding Knowledge Required\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/main>\n\n\n\n\n\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/body><\/html><!-- \/wp:post-content --><!-- wp:spacer {\"height\":\"25px\"} \/-->","protected":false},"excerpt":{"rendered":"<p>When auditing a website\u2019s PageSpeed performance, you often encounter one of the most common recommendations: \u201cEnable text compression\u201d in Google PSI, GTMetrix, or other PageSpeed analyzing tools to improve the website\u2019s performance. Enabling text compression can significantly reduce the page size and speed up a website. However, due to its difficulties, most technical SEO experts [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[214,13],"tags":[390,447,444,450,448,446,261,445,449],"class_list":["post-2681","post","type-post","status-publish","format-standard","hentry","category-performance","category-wordpress","tag-brotli","tag-context-modeling","tag-enable-text-compression","tag-gzip","tag-huffman-coding","tag-lz77-algorithm","tag-pagespeed-insights","tag-pagespeed-insights-score","tag-static-dictionary"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Enable Text Compression To Achieve A Good PageSpeed Insights Score<\/title>\n<meta name=\"description\" content=\"You often notice one of the most common recommendations\u00a0 \u201cenable text compression\u201d in Google PSI, GTMetrix, or other PageSpeed analyzing ....\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Enable Text Compression To Achieve A Good PageSpeed Insights Score\" \/>\n<meta property=\"og:description\" content=\"You often notice one of the most common recommendations\u00a0 \u201cenable text compression\u201d in Google PSI, GTMetrix, or other PageSpeed analyzing ....\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/\" \/>\n<meta property=\"og:site_name\" content=\"RabbitLoader\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-02T14:17:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-08T09:02:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1024x535.jpg\" \/>\n<meta name=\"author\" content=\"Sonju Ghosh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sonju Ghosh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/\",\"url\":\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/\",\"name\":\"How To Enable Text Compression To Achieve A Good PageSpeed Insights Score\",\"isPartOf\":{\"@id\":\"https:\/\/rabbitloader.com\/articles\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1024x535.jpg\",\"datePublished\":\"2024-09-02T14:17:14+00:00\",\"dateModified\":\"2025-08-08T09:02:09+00:00\",\"author\":{\"@id\":\"https:\/\/rabbitloader.com\/articles\/#\/schema\/person\/989c1fc1b0731c57624806de5cd06e53\"},\"description\":\"You often notice one of the most common recommendations\u00a0 \u201cenable text compression\u201d in Google PSI, GTMetrix, or other PageSpeed analyzing ....\",\"breadcrumb\":{\"@id\":\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#primaryimage\",\"url\":\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression.jpg\",\"contentUrl\":\"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression.jpg\",\"width\":1200,\"height\":627,\"caption\":\"Enable Text Compression\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/rabbitloader.com\/articles\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Enable Text Compression To Achieve A Good PageSpeed Insights Score\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rabbitloader.com\/articles\/#website\",\"url\":\"https:\/\/rabbitloader.com\/articles\/\",\"name\":\"RabbitLoader\",\"description\":\"Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rabbitloader.com\/articles\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/rabbitloader.com\/articles\/#\/schema\/person\/989c1fc1b0731c57624806de5cd06e53\",\"name\":\"Sonju Ghosh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rabbitloader.com\/articles\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/37a146825d7595a4e9fca725ff2443352018eda63918beb14f6b640dfb26c282?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/37a146825d7595a4e9fca725ff2443352018eda63918beb14f6b640dfb26c282?s=96&d=mm&r=g\",\"caption\":\"Sonju Ghosh\"},\"url\":\"https:\/\/rabbitloader.com\/articles\/author\/sonjughosh\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Enable Text Compression To Achieve A Good PageSpeed Insights Score","description":"You often notice one of the most common recommendations\u00a0 \u201cenable text compression\u201d in Google PSI, GTMetrix, or other PageSpeed analyzing ....","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/","og_locale":"en_US","og_type":"article","og_title":"How To Enable Text Compression To Achieve A Good PageSpeed Insights Score","og_description":"You often notice one of the most common recommendations\u00a0 \u201cenable text compression\u201d in Google PSI, GTMetrix, or other PageSpeed analyzing ....","og_url":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/","og_site_name":"RabbitLoader","article_published_time":"2024-09-02T14:17:14+00:00","article_modified_time":"2025-08-08T09:02:09+00:00","og_image":[{"url":"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1024x535.jpg"}],"author":"Sonju Ghosh","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sonju Ghosh","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/","url":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/","name":"How To Enable Text Compression To Achieve A Good PageSpeed Insights Score","isPartOf":{"@id":"https:\/\/rabbitloader.com\/articles\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#primaryimage"},"image":{"@id":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#primaryimage"},"thumbnailUrl":"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression-1024x535.jpg","datePublished":"2024-09-02T14:17:14+00:00","dateModified":"2025-08-08T09:02:09+00:00","author":{"@id":"https:\/\/rabbitloader.com\/articles\/#\/schema\/person\/989c1fc1b0731c57624806de5cd06e53"},"description":"You often notice one of the most common recommendations\u00a0 \u201cenable text compression\u201d in Google PSI, GTMetrix, or other PageSpeed analyzing ....","breadcrumb":{"@id":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rabbitloader.com\/articles\/enable-text-compression\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#primaryimage","url":"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression.jpg","contentUrl":"https:\/\/rabbitloader.com\/articles\/wp-content\/uploads\/2024\/09\/Enable-Text-Compression.jpg","width":1200,"height":627,"caption":"Enable Text Compression"},{"@type":"BreadcrumbList","@id":"https:\/\/rabbitloader.com\/articles\/enable-text-compression\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rabbitloader.com\/articles\/"},{"@type":"ListItem","position":2,"name":"How To Enable Text Compression To Achieve A Good PageSpeed Insights Score"}]},{"@type":"WebSite","@id":"https:\/\/rabbitloader.com\/articles\/#website","url":"https:\/\/rabbitloader.com\/articles\/","name":"RabbitLoader","description":"Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rabbitloader.com\/articles\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/rabbitloader.com\/articles\/#\/schema\/person\/989c1fc1b0731c57624806de5cd06e53","name":"Sonju Ghosh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rabbitloader.com\/articles\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/37a146825d7595a4e9fca725ff2443352018eda63918beb14f6b640dfb26c282?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/37a146825d7595a4e9fca725ff2443352018eda63918beb14f6b640dfb26c282?s=96&d=mm&r=g","caption":"Sonju Ghosh"},"url":"https:\/\/rabbitloader.com\/articles\/author\/sonjughosh\/"}]}},"_links":{"self":[{"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/posts\/2681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/comments?post=2681"}],"version-history":[{"count":11,"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/posts\/2681\/revisions"}],"predecessor-version":[{"id":3360,"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/posts\/2681\/revisions\/3360"}],"wp:attachment":[{"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/media?parent=2681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/categories?post=2681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rabbitloader.com\/articles\/wp-json\/wp\/v2\/tags?post=2681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}