Cache Management
Introducing the Workers Cache API: Giving you control over how your content is cached

Introducing the Workers Cache API: Giving you control over how your content is cached

1/25/2019 · Jon Levine

What this post added

Introduced the Cloudflare Workers Cache API, based on the Service Workers Cache API, allowing programmatic control over Cloudflare's global caches. This API provides `put()`, `match()`, and `delete()` methods for managing cached responses keyed by requests. It enables custom caching behavior, such as TTL and cache tags, customer Vary logic, and caching of POST requests by transforming them into GET requests for caching purposes. The API can also be used as a general-purpose, ephemeral key-value store.

Read the original post ↗