Read cache status: HIT, MISS, BYPASS, EXPIRED
The X-Proxy-Cache-MT header shows whether the answer came from the cache.
CDN.com.tr Help
The edge compresses text responses automatically: Brotli for browsers that support it, gzip for the others. See which method each domain uses on the Compression card and confirm it with curl.
Cache, security, WAF, and purge
The edge compresses text responses automatically: Brotli for browsers that support it, gzip for the others. See which method each domain uses on the Compression card and confirm it with curl.
The card shows each domain's compression over HTTP and HTTPS.
Expected result: A domain served with the default settings shows Brotli + gzip, with a note such as from rule #… or from the certificate-check rule.
Request a text file of at least 256 bytes, such as a CSS or JavaScript file, once asking for Brotli and once for gzip.
Accept-Encoding: br and read the response headers.Accept-Encoding: gzip.Expected result: content-encoding: br on the first answer and content-encoding: gzip on the second, each with vary: Accept-Encoding.
curl -s -o /dev/null -D - -H 'Accept-Encoding: br' https://www.example.com/assets/app.css | grep -iE '^(content-encoding|vary):'
curl -s -o /dev/null -D - -H 'Accept-Encoding: gzip' https://www.example.com/assets/app.css | grep -iE '^(content-encoding|vary):'
The download size shows what compression saves on your own files.
Accept-Encoding: br and once without an Accept-Encoding header.Expected result: Two byte counts: the compressed size first, then the uncompressed size.
curl -s -o /dev/null -w '%{size_download}\n' -H 'Accept-Encoding: br' https://www.example.com/assets/app.css
curl -s -o /dev/null -w '%{size_download}\n' https://www.example.com/assets/app.css
You moved a site behind the CDN and want to confirm that its HTML, CSS, JavaScript and JSON reach visitors compressed, without setting up compression on your origin.
content-encoding header.application/json, application/ld+json, application/manifest+json), XML (RSS and Atom feeds included), plain text, SVG, ICO icons, WebAssembly, and TTF, OTF and EOT fonts. Other content types go out as they are.Vary: Accept-Encoding, so caches in between keep the compressed and uncompressed versions apart.Content-Encoding header) is not compressed again.No. Compression is automatic: delivery rules are created with Brotli and gzip, and the Compression card is marked Automatic.
Check five things: the Compression card shows Brotli + gzip for that domain and protocol, the request asks for compression (curl sends no Accept-Encoding header unless you add one), the file is one of the compressed types, it is at least 256 bytes, and the status is 200, 403 or 404. Run the verification commands below as written.
Brotli for browsers that support it, gzip for the others. The edge reads the Accept-Encoding header the browser sends, and browsers ask for Brotli only over HTTPS.
No delivery rule serves that domain over that protocol yet. Once a rule serves the domain over HTTP or HTTPS, the card shows its compression there.