{"id":1606,"date":"2020-06-07T22:18:29","date_gmt":"2020-06-07T14:18:29","guid":{"rendered":"https:\/\/www.wesbytes.com\/guide\/?post_type=kb&#038;p=1606"},"modified":"2026-01-12T13:55:59","modified_gmt":"2026-01-12T05:55:59","slug":"does-cloudflare-compress-resources","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/does-cloudflare-compress-resources","title":{"rendered":"Does Cloudflare compress resources?"},"content":{"rendered":"<h3><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/cf-assets.www.cloudflare.com\/zkvhlag99gkb\/2pa5KXMxaWp3ss7jnNGRvU\/211baac16650f820c09c723de1f1fda4\/image12.png\" alt=\"Cloudflare compress resources\" width=\"1999\" height=\"1125\" \/><\/h3>\n<h3><strong>Does Cloudflare compress resources?<\/strong><\/h3>\n<p>Yes, <a href=\"https:\/\/www.cloudflare.com\/\" rel=\"nofollow noopener\" target=\"_blank\">Cloudflare<\/a> applies gzip and brotli compression to some types of content. We also gzip items based on the browser\u2019s useragent to help speed up page loading time.<\/p>\n<p>If you\u2019re already using gzip we will honor your gzip settings as long as you\u2019re passing. The details in a header from your web server for the files.<\/p>\n<p>Cloudflare only supports the content types gzip and None towards your origin server. And can also only deliver content either gzip compressed, brotli compressed, or not compressed at all.<\/p>\n<p>Cloudflare\u2019s reverse proxy is also able to convert between compressed formats and uncompressed formats. Meaning that it can pull content from a customer\u2019s origin server via gzip and serve it to clients uncompressed (or vice versa). This is done independent of caching.<\/p>\n<p>Please note: The Accept-Encoding header is not respected and will be removed.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Does Cloudflare compress resources? Yes, Cloudflare applies gzip and brotli compression to some types of content. We also gzip items based on the browser\u2019s useragent to help speed up page loading time. If you\u2019re already using gzip we will honor your gzip settings as long as you\u2019re passing. The details in a header from your web server for the files.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[43],"kbtag":[1124,1418],"class_list":["post-1606","kb","type-kb","status-publish","hentry","kbtopic-cloudflare","kbtag-cloudflare","kbtag-compress-resources"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=1606"}],"version-history":[{"count":4,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1606\/revisions"}],"predecessor-version":[{"id":6021,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1606\/revisions\/6021"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=1606"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=1606"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=1606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}