{"id":350,"date":"2012-01-05T21:56:39","date_gmt":"2012-01-05T21:56:39","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/01\/05\/how-to-enable-gzip-moddeflate\/"},"modified":"2025-03-10T14:03:57","modified_gmt":"2025-03-10T18:03:57","slug":"how-to-enable-gzip-moddeflate","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/","title":{"rendered":"An Introduction to gzip \/ mod_deflate"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-1024x538.jpg\" alt=\"mod_deflate Gzip Compression\" class=\"wp-image-90835\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><a name=\"what\"><\/a><strong>mod_deflate<\/strong> is an Apache module that can be used to <strong>compress data using gzip compression<\/strong> before sending it to the user. For bandwidth intensive websites, using this feature can offer a benefit, as the server is compressing data before sending it you will be using less bandwidth. The major drawback to using mod_deflate however is that the server may need to use more resources to compress each file and this in turn can cause performance issues on older servers. As our shared accounts included unlimited bandwidth, using mod_deflate to reduce bandwidth usage is not usually a concern for shared users.<\/p>\n\n\n\n<p>It\u2019s important to understand that <strong>gzip<\/strong> compression does not reduce resource usage on a server, nor is it guaranteed to reduce page load times for your website. To reduce possible resource usage and reduce page load time, a better solution is a caching option for your site. There are caching modules or settings for sites created with a content management system (CMS) such as <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/wp-super-cache\/\">WordPress<\/a>, <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-4\/how-to-enable-caching\/\">Joomla<\/a>, <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/drupal-performance-optimization\/\">Drupal<\/a>, etc.<\/p>\n\n\n\n<p class=\"alert alert-warning\"><strong>Please note:<\/strong> Due to the performance issues that can be caused by mod_deflate, it should not be used on older shared servers. Contact Live Support for more information about your hosting account and how to migrate to a new <a href=\"\/vps-hosting\/linux-vps\">Linux server<\/a> hosting plan.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#install\">How to Install mod_deflate<\/a><\/li><li><a href=\"#use\">How to Use mod_deflate<\/a><ul><li><a href=\"#cpanel\">Enabling mod_deflate (gzip Compression) in cPanel<\/a><\/li><\/ul><ul><li><a href=\"#htaccess\">Enabling mod_deflate (gzip Compression) in .htaccess<\/a><\/li><\/ul><\/li><li><a href=\"#test\">How to Test if mod_deflate is Working<\/a><ul><li><a href=\"#issues\">Issues with PHP 7<\/a><\/li><\/ul><\/li><\/ul>\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\" id=\"install\">How to Install mod_deflate<\/h2>\n\n\n\n<p class=\"alert alert-info\">The mod_deflate Apache module is already installed on our shared hosting servers.<\/p>\n\n\n\n<p>cPanel VPS and dedicated server administrators can install the HTTP compression module in WebHost Manager (WHM).<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/whm\/log-into-whm\/\">Log into WHM as root<\/a>.<\/li><li>On the left select \u201cEasyApache 4.\u201d<\/li><li>Beside \u201cCurrently Installed Packages,\u201d select \u201cCustomize.\u201d<\/li><li>Select \u201cApache Modules.\u201d<\/li><li>Search for \u201cmod_deflate.\u201d<\/li><li>Select the mod_deflate toggle switch to turn it blue.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/whm-mod_deflate-1024x455.png\" alt=\"Installing mod_deflate in EasyApache4\" class=\"wp-image-90908\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/whm-mod_deflate-1024x455.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/whm-mod_deflate-300x133.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/whm-mod_deflate-768x341.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/whm-mod_deflate.png 1392w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li><li>Select \u201cReview.\u201d<\/li><li>Select \u201cProvision.\u201d<\/li><\/ol>\n\n\n\n<p>Cloud server administrators can use the following command to see if the Apache module is already installed and enabled:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apachectl -M | grep deflate<\/pre>\n\n\n\n<p>If the output states \u201cdeflate_module (shared)\u201d then it is installed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"use\">How to Use mod_deflate<\/h2>\n\n\n\n<p>To use mod_deflate, you have two options:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Use the Website Optimization option in cPanel<\/li><li>Add a few lines to your .htaccess file<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"cpanel\">Enabling mod_deflate (gzip Compression) in cPanel<\/h3>\n\n\n\n<p>Under <strong>Software\/Services<\/strong> in your cPanel click on the <strong>Website Optimization<\/strong> icon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"327\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/cpanel-optimize-website-1024x327.png\" alt=\"Optimize Website cPanel App for mod_deflate\" class=\"wp-image-90907\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/cpanel-optimize-website-1024x327.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/cpanel-optimize-website-300x96.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/cpanel-optimize-website-768x246.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/cpanel-optimize-website-1536x491.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/cpanel-optimize-website.png 1792w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Select <strong>Compress all content<\/strong> or specific MIME types. To limit which types of content are compressed, choose <strong>Compress the specified MIME types<\/strong> and input the particular MIME types you want to compress.<\/p>\n\n\n\n<p class=\"alert alert-info\">If you specify particular MIME types, it is best not to add image, video, audio, PDF or other types of binary files. These file formats are already compressed, so it is not necessary to compress these further.<\/p>\n\n\n\n<p>Once you have chosen your settings, click <strong>Update Settings<\/strong> to save your changes and enable gzip compression on your account.<\/p>\n\n\n\n<p>To turn off gzip compression, select <strong>Disabled<\/strong> on the Website Optimization page and click <strong>Update Settings<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"htaccess\">Enabling mod_deflate (gzip Compression) in .htaccess<\/h3>\n\n\n\n<p>Edit your <a href=\"\/support\/website\/htaccess-file\/\">.htaccess file<\/a> and add the following code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">AddOutputFilterByType DEFLATE \ntext\/text\ntext\/html \ntext\/plain \ntext\/xml \ntext\/css \napplication\/x-javascript \napplication\/javascript<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"test\">How to Test if mod_deflate is Working<\/h2>\n\n\n\n<p>There are several sites online that you can use to help test whether mod_deflate is working for your site or not. One site we found rather easy to use is <a href=\"https:\/\/www.whatsmyip.org\/http-compression-test\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.whatsmyip.org\/http-compression-test\/<\/a>.<\/p>\n\n\n\n<p>All you need to do is enter your domain and click the \u201cTest\u201d button. Below we have showed before and after screenshots that indicate whether mod_deflate is enabled.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"151\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-disabled-1024x151.png\" alt=\"whatsmyip.org HTTP compression test unsuccessful\" class=\"wp-image-90905\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-disabled-1024x151.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-disabled-300x44.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-disabled-768x114.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-disabled-1536x227.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-disabled.png 1664w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><figcaption>URL compression test failed<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"151\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-enabled-1024x151.png\" alt=\"whatsmyip.org HTTP compression test successful\" class=\"wp-image-90904\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-enabled-1024x151.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-enabled-300x44.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-enabled-768x114.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-enabled-1536x227.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/01\/website_gzip_when-mod_deflate-enabled.png 1664w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><figcaption>URL compression test successful<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"issues\">Issues with PHP 7<\/h3>\n\n\n\n<p>Various users have reported issues involving the cPanel <em>Optimize Website<\/em> button and performance with PHP files. This seems to have affected websites using PHP version 7 and up. If you are having trouble using the compression features available from cPanel, you can try making these modifications in your <code>php.ini<\/code> file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">output_handler = Off \nzlib.output_compression = On \nzlib.output_handler = ob_gzhandler<\/pre>\n\n\n<div class=\"jumbotron\" style=\"text-align:center;\">\r\n<p style=\"font-size: 20px;\"><strong>Reliable Shared Hosting for Growing Businesses<\/strong><\/p>\r\n<p>Get the performance your business website demands with NVMe SSD storage, industry-standard cPanel management, and direct access to hosting experts whenever you need assistance.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Free Website Migration &nbsp;&nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>24\/7 Human Support &nbsp;&nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>100% Money-Back Guarantee<\/p>\r\n<p><a class=\"btn btn-primary btn-lg\" href=\"https:\/\/www.inmotionhosting.com\/shared-hosting?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=shared-cta2\">Shared Hosting<\/a><\/p>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>mod_deflate is an Apache module that can be used to compress data using gzip compression before sending it to the user. For bandwidth intensive websites, using this feature can offer a benefit, as the server is compressing data before sending it you will be using less bandwidth. The major drawback to using mod_deflate however is<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4288],"tags":[],"class_list":["post-350","post","type-post","status-publish","format-standard","hentry","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>An Introduction to gzip \/ mod_deflate | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Here we introduce you to gzip \/ mod_deflate\" \/>\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.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"An Introduction to gzip \/ mod_deflate | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Here we introduce you to gzip \/ mod_deflate\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-01-05T21:56:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-10T18:03:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-1024x538.jpg\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\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.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"An Introduction to gzip \/ mod_deflate\",\"datePublished\":\"2012-01-05T21:56:39+00:00\",\"dateModified\":\"2025-03-10T18:03:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/\"},\"wordCount\":662,\"commentCount\":30,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-1024x538.jpg\",\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/\",\"name\":\"An Introduction to gzip \/ mod_deflate | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-1024x538.jpg\",\"datePublished\":\"2012-01-05T21:56:39+00:00\",\"dateModified\":\"2025-03-10T18:03:57+00:00\",\"description\":\"Here we introduce you to gzip \/ mod_deflate\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate.jpg\",\"width\":1200,\"height\":630,\"caption\":\"mod_defalte Gzip Compression\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"An Introduction to gzip \/ mod_deflate\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"An Introduction to gzip \/ mod_deflate | InMotion Hosting","description":"Here we introduce you to gzip \/ mod_deflate","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.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/","og_locale":"en_US","og_type":"article","og_title":"An Introduction to gzip \/ mod_deflate | InMotion Hosting","og_description":"Here we introduce you to gzip \/ mod_deflate","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-01-05T21:56:39+00:00","article_modified_time":"2025-03-10T18:03:57+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-1024x538.jpg","type":"","width":"","height":""}],"author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"An Introduction to gzip \/ mod_deflate","datePublished":"2012-01-05T21:56:39+00:00","dateModified":"2025-03-10T18:03:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/"},"wordCount":662,"commentCount":30,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-1024x538.jpg","articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/","name":"An Introduction to gzip \/ mod_deflate | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate-1024x538.jpg","datePublished":"2012-01-05T21:56:39+00:00","dateModified":"2025-03-10T18:03:57+00:00","description":"Here we introduce you to gzip \/ mod_deflate","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/11\/gzip-mod_deflate.jpg","width":1200,"height":630,"caption":"mod_defalte Gzip Compression"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-enable-gzip-moddeflate\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"An Introduction to gzip \/ mod_deflate"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=350"}],"version-history":[{"count":16,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/350\/revisions"}],"predecessor-version":[{"id":129600,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/350\/revisions\/129600"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}