Switch language한국어
Back to the list

Your Worker can now have its own cache in front of it

TL;DR AI

Key summary

2 min read
  1. Cloudflare launched Workers Cache, a built-in caching layer that can sit in front of any Worker.

  2. It uses standard Cache-Control headers, cache tags, and purge APIs, and can be enabled with Wrangler.

  3. When a request is cached, Cloudflare serves it before the Worker runs; on a miss, the Worker executes and can store the response.

  4. The feature works for all Workers on any plan, helping server-rendered apps cut latency and CPU cost.

Read the original