{"id":2682,"date":"2019-10-23T09:29:45","date_gmt":"2019-10-23T01:29:45","guid":{"rendered":"https:\/\/www.mondoze.com\/guide\/?post_type=kb&#038;p=2682"},"modified":"2022-10-05T08:02:25","modified_gmt":"2022-10-05T00:02:25","slug":"what-will-cloudflare-compress","status":"publish","type":"kb","link":"https:\/\/www.mondoze.com\/guide\/kb\/what-will-cloudflare-compress","title":{"rendered":"What will Cloudflare compress?"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2682\" class=\"elementor elementor-2682\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-34ca9e0e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"34ca9e0e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1ef3937a\" data-id=\"1ef3937a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6e4ce62 elementor-widget elementor-widget-heading\" data-id=\"6e4ce62\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What will Cloudflare Compress?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-726508c2 elementor-widget elementor-widget-text-editor\" data-id=\"726508c2\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>In addition to Cloudflare&#8217;s CDN caching static content and auto-minification of CSS, JS &amp; HTML to speed up your site, Cloudflare also provides gzip and brotli compression to help site owners.\u00a0<\/p><p>Cloudflare will return gzip or brotli encod responses to compatible clients \/ browsers for the following content-types:<\/p><pre>text\/html\ntext\/richtext\ntext\/plain\ntext\/css\ntext\/x-script\ntext\/x-component\ntext\/x-java-source\ntext\/x-markdown\napplication\/javascript\napplication\/x-javascript\ntext\/javascript\ntext\/js\nimage\/x-icon\napplication\/x-perl\napplication\/x-httpd-cgi\ntext\/xml\napplication\/xml\napplication\/xml+rss\napplication\/json\nmultipart\/bag\nmultipart\/mixed\napplication\/xhtml+xml\nfont\/ttf\nfont\/otf\nfont\/x-woff\nimage\/svg+xml\napplication\/vnd.ms-fontobject\napplication\/ttf\napplication\/x-ttf\napplication\/otf\napplication\/x-otf\napplication\/truetype\napplication\/opentype\napplication\/x-opentype\napplication\/font-woff\napplication\/eot\napplication\/font\napplication\/font-sfnt\napplication\/wasm<\/pre><p>If you do not want a particular response from your origin to be encoded, you can disable this by setting\u00a0<code>cache-control: no-transform<\/code>\u00a0at your origin and turning Origin Cache Control -&gt; On using a\u00a0Page Rule.<\/p><p><strong>How do I enable Brotli compression?<\/strong><\/p><p>You can locate the setting for Brotli under the Speed section of your website&#8217;s settings:<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>What will Cloudflare Compress? In addition to Cloudflare&#8217;s CDN caching static content and auto-minification of CSS, JS &amp; HTML to speed up your site, Cloudflare also provides gzip and brotli compression to help site owners.\u00a0 Cloudflare will return gzip or brotli encod responses to compatible clients \/ browsers for the following content-types: text\/html text\/richtext text\/plain &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.mondoze.com\/guide\/kb\/what-will-cloudflare-compress\"> <span class=\"screen-reader-text\">What will Cloudflare compress?<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[53],"kbtag":[110],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2682"}],"collection":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/comments?post=2682"}],"version-history":[{"count":6,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2682\/revisions"}],"predecessor-version":[{"id":18737,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2682\/revisions\/18737"}],"wp:attachment":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/media?parent=2682"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=2682"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtag?post=2682"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=2682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}