Loading...

CDN.com.tr Help

Purge cached content

Purge a path, saved path, or the whole account and separate CDN cache from browser cache.

Purge cached content

Purge a path, saved path, or the whole account and separate CDN cache from browser cache.

Panel path

  1. Management Panel
  2. CDN Accounts
  3. Purge Management
  4. Path purge / Purge all
  5. Operations

Prerequisites

  • Purge path must belong to the selected account.
  • Purge all should be used intentionally and sparingly.
  • Browser cache and CDN cache must be separated during verification.

Step-by-step guide

1

Choose purge target

Single file, folder/prefix, and whole-cache purge have different risk levels.

  • Open Purge Management.
  • Enter path or choose saved path.
  • Confirm scope when using purge all.

Expected result: The purge request is created in the selected account scope.

cdnctl equivalent
cdnctl purge --account <account_uuid> --path /assets/app.css
2

Verify purge result

After purge completes, verify with a clean browser session or response headers.

  • Check purge status from Operations.
  • Reopen URL with cache bypass or a clean session.

Expected result: CDN stops returning the stale object.

cdnctl equivalent
curl -I https://<hostname>/<path>

Verification

  • Path is purged for the right account/domain.
  • Purge all requires customer confirmation.
  • Result is verified through public URL or headers.

Use cases

A deployment is live on origin but CDN still returns the old asset.

Quick workflow

  1. Open Purge Management.
  2. Enter path or choose saved path.
  3. Start purge.
  4. Check purge-all status or operation state.

Checks

  • Path belongs to selected account.
  • Purge all is intentionally confirmed.
  • Browser cache is ruled out before retry.

Related pages

Block traffic by ASN and by country

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.

Restrict a path with a password or an IP allow list

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.

Turn on HSTS for your hostnames

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.

Write a rule for a domain and path

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.

Read WAF logs

Use WAF logs to see which requests were blocked or challenged, and why.

WAF log-only mode: try the rules before they block

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.

Signed URLs: links that expire

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.

Image optimization: AVIF and WebP at the edge

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.

Redirect a domain to another domain (301)

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.

Brotli and gzip compression

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 (QUIC): turn it off for a hostname

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.

CORS headers at the edge

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.