BACK TO THE WIRE
SW-000127CLOUDFLARE · CLOUDFLARE CDN · CACHE · CACHE INVALIDATIONINFORMATIONAL

Cloudflare adds cache invalidation as alternative to full purge

Cloudflare introduced a new cache invalidation feature that marks cached content as stale instead of purging it outright. On the next request, Cloudflare revalidates with the origin and reuses the cached asset if the origin returns a 304 Not Modified response, reducing unnecessary re-downloads for unchanged assets sharing selectors like cache tags, URLs, hostnames, or prefixes.

NETWORK · CLOUD · FEATURE RELEASE · BEHAVIOR CHANGE

PUBLISHED SEP 29, 2026 15:31 UTC

WHAT CHANGED

A new POST endpoint /invalidate_cache was added to the Cloudflare API (zones/{zone_id}/invalidate_cache), accepting the same selectors as purge (URLs, cache tags, hostnames, prefixes, everything). A corresponding 'Invalidate Cache' action was added to the dashboard under Caching > Configuration. Invalidation requires the origin to support conditional requests via ETag or Last-Modified headers, and invalidation requests count toward the same rate limits as purge requests. The release also changes purge behavior specifically for Cache Reserve, though details are only referenced via a separate linked document and not described here.

WHY IT MATTERS

Administrators can now refresh partially changed asset groups without forcing full re-downloads from origin, reducing origin load and bandwidth costs. However, invalidation does not stop serving cached content the way purge does—stale content may still be served if the origin errors or is unreachable—so admins must choose the correct mechanism (invalidate vs purge) depending on whether stale-content risk is acceptable. Teams relying on Cache Reserve should review the linked purge-behavior change since this document does not specify what changed.

WHO IS AFFECTED

ROLES
Cloudflare administratorsDevelopers managing cache configuration
PRODUCTS
Cloudflare CacheCloudflare CDN
FEATURES
Cache invalidationCache purgeCache Reserve purge behavior
CONFIGURATIONS
Origin must return ETag or Last-Modified headers and support conditional requests to benefit from invalidation

WHAT TO DO

  1. 01
    MEDIUMAUTOMATABLE

    Evaluate using the new invalidate_cache API endpoint instead of purge when only a subset of cache-tagged assets have changed.

    DOCUMENTATION
  2. 02
    MEDIUM

    Verify that origin servers return ETag or Last-Modified headers and support conditional (304 Not Modified) requests so invalidation can avoid re-downloading unchanged content.

  3. 03
    LOW

    Use the 'Invalidate Cache' option on the Caching > Configuration page in the Cloudflare dashboard for manual invalidation workflows.

  4. 04
    MEDIUM

    Review the linked Cache Reserve purge behavior changes to determine if they affect existing purge configurations.

  5. 05
    LOWAUTOMATABLE

    Account for invalidation requests counting toward the same rate limits as purge requests when planning automation or scripts.

TIMELINE

ANNOUNCED
SEP 28, 2026
EFFECTIVE START
SEP 28, 2026

SOURCES

  • OFFICIAL SECONDARYCLOUDFLARE

    Invalidate cached content instead of purging it

    PUBLISHED SEP 28, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED SEP 29, 2026 15:31 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?