Cache Purge

Send a PURGE request to a URL, or purge cache tags on Vercel

Works with caches that accept the PURGE method, such as Varnish and Fastly. Redirects are not followed.

API

Send a PURGE request to up to 10 URLs:

curl -X POST https://kamalnrf.com/api/cache-purge \
  -H 'Content-Type: application/json' \
  -d '{"urls": ["https://example.com/page"]}'

Returns results, one per URL, each with status, timing, headers and body, or an error.

Direct purges are sent from this site's server. Vercel purges are sent from your browser.