What content encoding algorithms does the CDN support?

The creoline® CDN supports various compression methods (content encodings) to reduce the size of HTTP responses and optimize load times through more efficient data transfer.


Algorithm Technical Name
Uncompressed identity
GZIP gzip
Zstandard zstd
Brotli br



Example

All compression methods are available for text files such as text/plain, text/css, or text/javascript. The encoding actually used is determined based on the Accept-Encoding header sent by the client. The encoding used is displayed in the CDN’s access log.



Run the test


Uncompressed:

curl -I https://assets.cstatic.com/img/creoline-logo.svg

HTTP/2 200
content-type: image/svg+xml
content-length: 3012


gzip:

curl -I --header "Accept-Encoding: gzip" https://assets.cstatic.com/img/creoline-logo.svg

HTTP/2 200
content-type: image/svg+xml
content-encoding: gzip
content-length: 1292


zstd:

curl -I --header "Accept-Encoding: zstd" https://assets.cstatic.com/img/creoline-logo.svg

HTTP/2 200
content-type: image/svg+xml
content-encoding: zstd
content-length: 1335


brotli:

curl -I --header "Accept-Encoding: br" https://assets.cstatic.com/img/creoline-logo.svg

HTTP/2 200
content-type: image/svg+xml
content-encoding: br
content-length: 1231