CLOUDFLARE has introduced Workers Cache, a specialized frontend caching layer designed for Cloudflare Workers, enhancing edge caching efficiency. The two-layer cache architecture includes a lower cache at the edge closest to users and an upper layer that aggregates global requests, leading to a high cache-hit rate. The cache operates based on standard HTTP Cache-Control headers and supports features like Stale-While-Revalidate for uninterrupted user experiences.
Key benefits for developers include reduced costs and latency, improved dynamic content performance, simplified multi-tenant scenarios, and precise cache invalidation. Workers Cache is available on all Cloudflare plans, with support for various frameworks in development.