All months

Changelog · 2024-06

June 2024

Soft purge for cached content from the dashboard and purge API, multi-value domain matching in rules, custom static error pages in proxy rules, and tools to clone rules and clear project rules.

5 updates across 2 products shipped this month.

New 4

Back to top
New CDN

Soft purge support

You can now soft purge cached content. A soft purge marks the content as stale instead of removing it from the edge caches. A stale copy can then still be served while fresh content is fetched, or if your origin is unavailable. On the dashboard purge form, the Soft purge (mark as stale) option is selected by default. In the API, send the Soft-Purge: true header with a path or cache-key purge request. Content you create, update or publish through the API now triggers a soft purge by default.

Related documentation: Purge via the API: Soft purge

New Rules

Multi-value domain matching

Rules can now match against multiple domains in a single rule rather than being limited to one domain or any, so you no longer need a separate copy of a rule for each domain.

Related documentation: Page Rules: Domain and URL

New Rules

Custom static error pages in proxy rules

Proxy rules can now serve a custom static error page, so visitors see a branded page when your origin returns an error. Enable the static error pages option on the proxy rule and list the HTTP status codes to cover, typically 404 or 403. For each code, Quant serves the page that you published in the project at /_quant followed by the code, for example /_quant404 or /_quant403. If that page does not exist, visitors see your origin's error page.

New Rules

Clone rules and clear project rules

You can now clone a single rule with its Clone link in the rules list. The copy is added directly after the original and starts disabled, so you can edit it before you enable it. You can also copy the full rule set from another project in your organisation with Clone from project in the Actions menu on the Rules page. This replaces the current project's rules and sets the domain of each copied rule to Any. You can also delete all rules from a project in a single action with Delete all in the same menu.

Improved 1

Back to top
Improved CDN

Purging a path or its index.html variant clears both

Purging a path such as /about, or its /index.html variant /about/index.html, now clears both cached copies. This applies to purges from the dashboard and from the purge API. Previously, purging /about/index.html did not clear /about.