megachangelog
Feature

Custom Errors now support fetching assets with 4xx or 5xx status codes

Custom Errors can now fetch and cache error pages and assets from your origin even when they return 4xx or 5xx status codes, allowing assets to be stored and reused at the edge without repeated origin requests. This enables more flexible fallback handling for error content and downtime banners.

Custom Errors can now fetch and store assets and error pages from your origin even if they are served with a 4xx or 5xx HTTP status code — previously, only 200 OK responses were allowed.

What’s new:

  • You can now upload error pages and error assets that return error status codes (for example, 403, 500, 502, 503, 504) when fetched.
  • These assets are stored and minified at the edge, so they can be reused across multiple Custom Error rules without triggering requests to the origin.

This is especially useful for retrieving error content or downtime banners from your backend when you can’t override the origin status code.

Learn more in the Custom Errors documentation.

custom-errorsedgeruleserror-handlingcaching

Source: original entry ↗

More from Cloudflare

Follow Cloudflare to get its new changes in your feed and email digest.

Fix2026.8.2115.0

Cloudflare One Client for Linux

A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.

linuxclientcertificateshotfix
See all Cloudflare changes →