Manage Bot Protection (JS Challenge)
Enable the three-mode bot verification from the Security Events page, use "Everyone" deliberately, read the pass rate.
CDN.com.tr Help
Use the X-Proxy-Cache-MT response header to see exactly what the CDN did with a request and to verify that caching works as intended.
Cache, security, WAF, and purge
Use the X-Proxy-Cache-MT response header to see exactly what the CDN did with a request and to verify that caching works as intended.
A customer checks response headers in browser DevTools and wants to know whether content is being served from the CDN cache, fetched from origin, or deliberately skipped.
curl -I).X-Proxy-Cache-MT header.BYPASS means the request skipped the cache on purpose. There are three possible reasons: the request matched a rule with Don't cache this path selected; the request carries a cookie from the rule's Skip the cache when these cookies are present list (on WordPress hosting accounts, the login cookies are on this list by default); or the request carries an Authorization header. Your logged-in browser may send those cookies, so test in a private window or with curl -I https://yourdomain.com/path: a cacheable response shows MISS first, then HIT.
It depends on the rule. On a rule with Follow your origin's cache headers selected (the default for new accounts), your origin's Cache-Control or Expires header decides how long the edge keeps the response; if neither is present, the response is kept for at most 30 days. On a rule with Cache for a fixed time selected, your origin's Cache-Control and Expires headers are ignored, and both the edge and browsers keep the response for the time you chose. Two traps: a response that sends Set-Cookie is not cached by default; and if Image optimization is on for the account or the rule, optimized images are kept for 365 days whatever the origin says.
No. The cache key has no device component — mobile and desktop share one entry, so purging a path clears it for both.
Purge the path from Purge Management. A hard refresh in your own browser only affects your browser cache, not the CDN cache.
No. Requests that carry an Authorization header (Bearer token, Basic auth) are never served from or stored in the CDN cache; they always go to your origin and show BYPASS.
Not by default: analytics and consent cookies are on nearly every request, so the edge does not look at cookies. For pages behind a login, write your session cookie's name in the rule's Skip the cache when these cookies are present field (one name per line; the name is matched in the Cookie header without regard to case), or send Cache-Control: private, no-store with those responses. Responses that contain Set-Cookie are not cached by default. On WordPress hosting accounts, the wordpress_logged_in, wp-postpass and woocommerce_items_in_cart cookies are on this list by default.
Yes. On the Rules tab of Domains & Rules, add a rule, choose Starts with as the path match, enter /api/ and choose Don't cache this path. Do not add an asterisk; * is not a wildcard here. Every request on this path goes to your origin, and the rule stays until you change it. File type is rules apply on all paths and are tried before the /api/ rule; if one of your API addresses ends in an extension such as .png, adjust your rules accordingly. Requests with an Authorization header are never cached in any case.
Enable the three-mode bot verification from the Security Events page, use "Everyone" deliberately, read the pass rate.
All account-level security controls live on one Security Events page: the site-wide WAF toggle, JS Challenge bot protection, IP and country blocking, hotlink protection, request rate limiting, and link expiration. Every save deploys to the edge automatically — no separate publish step.
Two account-wide blacklists on the same panel: block whole countries by country code, or block whole networks by autonomous system number. A blocked visitor gets the branded 403 page with a Reference ID.
Close a staging site, an admin area or a private folder at the edge: on a delivery rule, ask for a username and password, let only the IP addresses you list through, or both. Requests that do not pass are answered by the edge and never reach your server.
The Always HTTPS (HSTS) switch makes the edge send Strict-Transport-Security: max-age=31536000 on HTTPS responses, so a browser that has seen your site once refuses to open it over plain HTTP for a year.
On the Rules tab of Domains & Rules, a rule picks requests by domain, protocol and path, then sets how they are cached, which headers are added or removed, where they are fetched from and who may open them.
Use WAF logs to see which requests were blocked or challenged, and why.
Put the WAF in log-only mode for the whole site or for the paths you choose, for 7, 14 or 30 days. The WAF rules keep inspecting every request and write the ones they would have blocked to the logs as "would have been blocked", but block none of them. When the period ends, the account goes back to blocking by itself.
Purge a path, saved path, or the whole account and separate CDN cache from browser cache.
Every cached object is stored under a key built from the request — scheme, host, path, and query string. A purge only clears an entry when it addresses that exact key. Understanding this one idea explains nearly every "purge did not work" case.
Protect a file so it can only be fetched with a signature you generate, valid until a moment you choose. Unsigned requests get 403, expired ones get 410.
Switch on image optimization for the account or for one delivery rule and choose WebP or WebP + AVIF: the edge converts JPEG and PNG images and sends each browser a format it accepts, while your pages keep the same image URLs.
Send requests for a domain to another domain with a permanent (301) redirect from the Redirects tab of Domains & Rules. The path and query string are kept, and Auto SSL certificate checks under /.well-known keep working.
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.
HTTP/3 is on for every HTTPS hostname by default. Turn it off for one hostname in its details on the Domains tab of Domains & Rules when its visitors, or a network they use, have trouble with QUIC; those visitors then use HTTP/2.
Add Access-Control-Allow-Origin and the other CORS headers to a delivery rule's responses, let your origin answer preflight OPTIONS requests, and allow the methods your API uses in the WAF.