{"id":5635,"date":"2022-01-14T06:53:24","date_gmt":"2022-01-14T12:53:24","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=5635"},"modified":"2023-06-12T07:39:36","modified_gmt":"2023-06-12T12:39:36","slug":"enable-apache-gzip-compression-mod_deflate-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/","title":{"rendered":"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #212121;color:#212121\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #212121;color:#212121\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#how_to_check_gzip_compression_status\" >How to check Gzip Compression status?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#enable_gzipp_compression_mod_deflate\" >Enable Gzipp Compression (mod_deflate)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>Enabling Gzip compression is one of the starting points of optimizing web pages&#8217; delivery optimally. It also increases website performance and may land your website in the green zone of google page speed insight. Let&#8217;s learn, How to Enable Apache Gzip Compression (mod_deflate) in cPanel ?<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"how_to_check_gzip_compression_status\"><\/span>How to check Gzip Compression status?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By default, Gzip compression comes installed on the cPanel\/WHM server. Still, if you want to check whether the Gzip compression (mod_deflate) is installed on the server or not; run the following command,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>httpd -M | grep 'deflate'<\/strong><\/code><\/pre>\n\n\n\n<p>The result should look like,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@158-106-130-242 ~]# httpd -M | grep 'deflate'\n<strong> deflate_module (shared)<\/strong><\/code><\/pre>\n\n\n\n<p>If you&#8217;re not able to see the expected result as above, then you can install Gzip (mod_deflate) using WHM &gt;&gt; Home &gt;&gt; Software &gt;&gt; EasyApache 4 interface or run the following command to install mod_deflate on cPanel\/WHM server,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>yum install ea-apache24-mod_deflate -y<\/strong><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"enable_gzipp_compression_mod_deflate\"><\/span>Enable Gzipp Compression (mod_deflate)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>1. Log in to cPanel using&nbsp;<strong>Username&nbsp;<\/strong>&amp;&nbsp;<strong>Password<\/strong>.&nbsp;i.e; (https:\/\/yourdomain.com:2083 or https:\/\/yourdomain.com\/cpanel)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png\" alt=\"\" class=\"wp-image-2388\"\/><\/figure>\n\n\n\n<p>2. Navigate to&nbsp;<strong>Software \u2192<\/strong> <strong>Optimize Website.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"523\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/navigate-to-enable-gzip-optimize-website-cpanel-1024x523.jpg\" alt=\"navigate to enable gzip optimize website cpanel\" class=\"wp-image-5641\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/navigate-to-enable-gzip-optimize-website-cpanel-1024x523.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/navigate-to-enable-gzip-optimize-website-cpanel-300x153.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/navigate-to-enable-gzip-optimize-website-cpanel-768x393.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/navigate-to-enable-gzip-optimize-website-cpanel-1536x785.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/navigate-to-enable-gzip-optimize-website-cpanel-2048x1047.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3. Choose the preferred option,<\/p>\n\n\n\n<p><strong>Disabled<\/strong>: To disable the compression.<\/p>\n\n\n\n<p><strong>Compress<\/strong> <strong>All Content<\/strong>: To compress all the supported content\/files.<\/p>\n\n\n\n<p><strong>Compress<\/strong> <strong>the<\/strong> <strong>specified<\/strong> <strong>MIME<\/strong> <strong>types<\/strong>: To compress specified files (Ex: text\/html text\/plain text\/xml)<\/p>\n\n\n\n<p>For this article, we will go ahead with Compress All Content.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"286\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/select-the-gzip-compression-option-cpanel-1024x286.jpg\" alt=\"select the gzip compression option cpanel\" class=\"wp-image-5639\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/select-the-gzip-compression-option-cpanel-1024x286.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/select-the-gzip-compression-option-cpanel-300x84.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/select-the-gzip-compression-option-cpanel-768x215.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/select-the-gzip-compression-option-cpanel-1536x430.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/select-the-gzip-compression-option-cpanel.jpg 1716w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4. Finally, click on <strong>Update Settings<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"286\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/Enable-Apache-Gzip-Compression-mod_deflate-in-cPanel-1024x286.jpg\" alt=\"Enable Apache Gzip Compression (mod_deflate) in cPanel\" class=\"wp-image-5640\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/Enable-Apache-Gzip-Compression-mod_deflate-in-cPanel-1024x286.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/Enable-Apache-Gzip-Compression-mod_deflate-in-cPanel-300x84.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/Enable-Apache-Gzip-Compression-mod_deflate-in-cPanel-768x215.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/Enable-Apache-Gzip-Compression-mod_deflate-in-cPanel-1536x430.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/01\/Enable-Apache-Gzip-Compression-mod_deflate-in-cPanel.jpg 1716w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Extras<\/strong>: It is also possible to enable zlib.output_compression for WordPress sites using a php.ini file. Navigate to the php.ini file in question (WHM &gt;&gt; Software &gt;&gt; MultiPHP INI Editor) and add the following line to the bottom of the file before saving,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>zlib.output_compression = On<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now that we&#8217;ve gone over how to enable apache GZip compression (mod_deflate) on the cpanel control panel. If you&#8217;re not able to track down whether the Gzip compression is enabled or not, refer to this article: <a target=\"_blank\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-check-whether-gzip-compression-is-working\/\" rel=\"noreferrer noopener\">How to Check Whether Gzip Compression is Working?<\/a>&nbsp;or get in touch with our support.<\/p>\n\n\n\n<p>KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team is ready to help you with requests such as creating MySQL databases and users, should you need our assistance. You\u2019re not using KnownHost for the best web hosting experience? Well, why not? Check with&nbsp;<a href=\"https:\/\/www.knownhost.com\/contact\">our Sales team<\/a>&nbsp;to see what can KnownHost do for you in improving your web hosting experience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enabling Gzip compression is one of the starting points of optimizing web pages&#8217; delivery optimally. It also increases website performance and may land your website in the green zone of google page speed insight. Let&#8217;s learn, How to Enable Apache Gzip Compression (mod_deflate) in cPanel ? How to check Gzip Compression status? By default, Gzip [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[109,306,535],"class_list":["post-5635","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-cpanel","tag-gzip","tag-mod_deflate"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Enable Apache Gzip Compression (mod_deflate) in cPanel ? - KnownHost<\/title>\n<meta name=\"description\" content=\"Compress the HTML, CSS, XML, etc files using Gzip. Learn, how to enable apache Gzip Compression (mod_deflate) in cPanel step-by-step.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ? - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Compress the HTML, CSS, XML, etc files using Gzip. Learn, how to enable apache Gzip Compression (mod_deflate) in cPanel step-by-step.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-14T12:53:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-12T12:39:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png\" \/>\n<meta name=\"author\" content=\"Somesh Z\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Somesh Z\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/\"},\"author\":{\"name\":\"Somesh Z\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"headline\":\"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ?\",\"datePublished\":\"2022-01-14T12:53:24+00:00\",\"dateModified\":\"2023-06-12T12:39:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/\"},\"wordCount\":405,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Login-to-cpanel-using-user-and-password.png\",\"keywords\":[\"cpanel\",\"gzip\",\"mod_deflate\"],\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/\",\"name\":\"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ? - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Login-to-cpanel-using-user-and-password.png\",\"datePublished\":\"2022-01-14T12:53:24+00:00\",\"dateModified\":\"2023-06-12T12:39:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"description\":\"Compress the HTML, CSS, XML, etc files using Gzip. Learn, how to enable apache Gzip Compression (mod_deflate) in cPanel step-by-step.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Login-to-cpanel-using-user-and-password.png\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Login-to-cpanel-using-user-and-password.png\",\"width\":1002,\"height\":829},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enable-apache-gzip-compression-mod_deflate-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\",\"name\":\"Somesh Z\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"caption\":\"Somesh Z\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ? - KnownHost","description":"Compress the HTML, CSS, XML, etc files using Gzip. Learn, how to enable apache Gzip Compression (mod_deflate) in cPanel step-by-step.","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:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ? - KnownHost","og_description":"Compress the HTML, CSS, XML, etc files using Gzip. Learn, how to enable apache Gzip Compression (mod_deflate) in cPanel step-by-step.","og_url":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/","og_site_name":"KnownHost","article_published_time":"2022-01-14T12:53:24+00:00","article_modified_time":"2023-06-12T12:39:36+00:00","og_image":[{"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","type":"","width":"","height":""}],"author":"Somesh Z","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Somesh Z","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/"},"author":{"name":"Somesh Z","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"headline":"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ?","datePublished":"2022-01-14T12:53:24+00:00","dateModified":"2023-06-12T12:39:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/"},"wordCount":405,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","keywords":["cpanel","gzip","mod_deflate"],"articleSection":["cPanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/","url":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/","name":"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ? - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","datePublished":"2022-01-14T12:53:24+00:00","dateModified":"2023-06-12T12:39:36+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"description":"Compress the HTML, CSS, XML, etc files using Gzip. Learn, how to enable apache Gzip Compression (mod_deflate) in cPanel step-by-step.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/08\/Login-to-cpanel-using-user-and-password.png","width":1002,"height":829},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/enable-apache-gzip-compression-mod_deflate-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Enable Apache Gzip Compression (mod_deflate) in cPanel ?"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1","name":"Somesh Z","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","caption":"Somesh Z"}}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/5635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=5635"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/5635\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=5635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=5635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=5635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}