quant purge
Purge cached content from QuantCDN by URL path or cache key. Use it after manual cache-affecting changes; quant deploy already purges paths it touches.
Synopsis
Section titled “Synopsis”quant purge [path] [options]You must pass either path or --cache-keys, but not both.
Description
Section titled “Description”Removes cached responses from the edge. By default a purge deletes the cached object so the next request fetches fresh content. With --soft-purge, the cached object is marked stale rather than deleted — useful when origin issues mean serving stale content is preferable to serving errors.
For background on cache keys versus paths, see purging using cache keys.
Arguments
Section titled “Arguments”| Name | Description |
|---|---|
path |
URL path to purge from cache. Mutually exclusive with --cache-keys. |
Options
Section titled “Options”| Flag | Description | Default |
|---|---|---|
--cache-keys |
Cache keys to purge, space-separated. Mutually exclusive with path. |
— |
--soft-purge |
Mark content as stale rather than delete from edge caches. | false |
Examples
Section titled “Examples”Purge a single path
Section titled “Purge a single path”quant purge /about/Purge multiple cache keys
Section titled “Purge multiple cache keys”quant purge --cache-keys "homepage-hero homepage-footer"Soft purge a path
Section titled “Soft purge a path”quant purge /about/ --soft-purgeSee also
Section titled “See also”- Purging using cache keys — cache key concepts and patterns.
- Purging via the dashboard — the UI equivalent.
quant deploy— deploys automatically purge affected paths.
