Which MIME types does BunnyCDN support for compression?

BunnyCDN automatically compresses content using gzip, Brotli (br), or Zstandard (zstd), depending on the Accept-Encoding header. Compression is guaranteed for a predefined set of MIME types, listed in this article, as well as for files with the following extensions: .css, .js, .json, .xml, .svg, and .html even if the Content-Type header is missing or does not exactly match the list.

BunnyCDN provides compression for these types, but it may also apply compression to other content types based on compatibility. If you don't see a specific MIME type listed, feel free to contact our support team, and we’ll be happy to review it for possible inclusion.

List of supported MIME types:

  • application/atf

  • application/atom+xml

  • application/dash+xml

  • application/ecmascript

  • application/eot

  • application/font

  • application/font-sfnt

  • application/javascript

  • application/json

  • application/ld+json

  • application/manifest+json

  • application/opentype

  • application/otf

  • application/pkcs7-mime

  • application/rss+xml

  • application/truetype

  • application/ttf

  • application/vnd.apple.mpegurl

  • application/vnd.geo+json

  • application/vnd.ms-fontobject

  • application/wasm

  • application/x-font-opentype

  • application/x-font-truetype

  • application/x-font-ttf

  • application/x-httpd-cgi

  • application/x-javascript

  • application/x-mpegurl

  • application/x-opentype

  • application/x-otf

  • application/x-perl

  • application/x-ttf

  • application/x-web-app-manifest+json

  • application/xhtml+xml

  • application/xml

  • application/xml+rss

  • font/eot

  • font/opentype

  • font/otf

  • font/truetype

  • font/ttf

  • image/svg+xml

  • image/vnd.microsoft.icon

  • image/x-icon

  • model/gltf-binary

  • text/cache-manifest

  • text/css

  • text/csv

  • text/html

  • text/javascript

  • text/js

  • text/plain

  • text/richtext

  • text/tab-separated-values

  • text/x-component

  • text/x-java-source

  • text/x-script

  • text/xml

Table of Contents

Was this article helpful?
17 out of 23 found this helpful