Cache and purge guides
Find the guides and tutorials on cache and purge in one list, each with a summary of what it covers.
This section holds the guides and tutorials on cache and purge.
Vary a cached object by a query string argument or by a cookie, then apply the cache setting to an application with a Rules Engine rule.
Set how long an object stays cached, bypass the cache for a path, and forward the origin's Set-Cookie header to users.
Store the response to a POST or OPTIONS request on an application, then apply the cache setting with a Rules Engine rule.
Create a cache setting on an application and apply it with a rule, from Azion Console, the Azion API, or the Azion CLI.
Send one request with a debug header and read whether Azion served the response from its cache, together with the key the copy is stored under.
Remove a cached object before its TTL ends, by URL, by cache key, or by wildcard, from Azion Console, the Azion API, or the Azion CLI.
Send a purge from your publishing system when content changes: by URL on every save, and by wildcard only when images change.
Serve a page from an Object Storage bucket through an Application that caches it, then publish a new version and purge the old copy from the cache.
Ask a coding agent connected to the Azion MCP server to test the cache of a deployed site, then check the debug headers Azion returns with curl.