{"id":128,"date":"2015-12-29T13:06:04","date_gmt":"2015-12-29T18:06:04","guid":{"rendered":"http:\/\/216.162.77.24\/wordpress\/?p=128"},"modified":"2024-03-28T10:23:14","modified_gmt":"2024-03-28T14:23:14","slug":"how-to-enable-compression-gzip-on-apache","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2015\/12\/29\/how-to-enable-compression-gzip-on-apache\/","title":{"rendered":"How to enable GZIP compression on Apache"},"content":{"rendered":"<h2>Enable GZIP compression on Apache<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-132 size-full\" src=\"https:\/\/easy-admin.ca\/my_uploads\/2015\/12\/pagespeed-magento-2.jpg\" alt=\"pagespeed-magento-2\" width=\"859\" height=\"658\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2015\/12\/pagespeed-magento-2.jpg 859w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2015\/12\/pagespeed-magento-2-300x230.jpg 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2015\/12\/pagespeed-magento-2-768x588.jpg 768w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/p>\n<p>The instructions and code below will work on Apache. If they are not working there is another way that may work for you. If the above code did not seem to work, remove it from your .htaccess file and try this one instead&#8230;<\/p>\n<div class=\"code\">\n<p>AddOutputFilterByType DEFLATE text\/plain<br \/>\nAddOutputFilterByType DEFLATE text\/html<br \/>\nAddOutputFilterByType DEFLATE text\/xml<br \/>\nAddOutputFilterByType DEFLATE text\/css<br \/>\nAddOutputFilterByType DEFLATE application\/xml<br \/>\nAddOutputFilterByType DEFLATE application\/xhtml+xml<br \/>\nAddOutputFilterByType DEFLATE application\/rss+xml<br \/>\nAddOutputFilterByType DEFLATE application\/javascript<br \/>\nAddOutputFilterByType DEFLATE application\/x-javascript<\/p>\n<p>This is working on the server now!<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Enable GZIP compression on Apache The instructions and code below will work on Apache. If they are not working there is another way that may work for you. If the above code did not seem to work, remove it from your .htaccess file and try this one instead&#8230; AddOutputFilterByType DEFLATE text\/plain AddOutputFilterByType DEFLATE text\/html AddOutputFilterByType &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2015\/12\/29\/how-to-enable-compression-gzip-on-apache\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to enable GZIP compression on Apache<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":3461,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-128","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media\/3461"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}