All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Cloudflare launches Workers Cache: a tiered caching layer in front of Worker entrypoints

By

Dan Lapid Connor Harwood

3h ago· 23 min readenNews

Summary

Cloudflare is launching Workers Cache, a tiered caching layer that sits in front of Worker entrypoints. When enabled, cacheable requests hit Cloudflare's cache first — if a fresh cached response exists, it's returned directly without running the Worker, saving CPU time and costs. On a cache miss, the Worker runs and if the response is cacheable, it's stored for subsequent requests. The system is configured via a single line of Wrangler config and standard Cache-Control headers, and is infinitely composable with regionally tiered caching.

Source

Hacker NewsCloudflare launches Workers Cache: a tiered caching layer in front of Worker entrypointsblog.cloudflare.com

Key quotes

· 5 pulled
When Workers Cache is enabled, every cacheable request to your Worker hits Cloudflare's cache first.
If there's a fresh cached response, Cloudflare returns it directly — your Worker doesn't run, and you don't pay CPU time for it.
On a miss, your Worker runs, and if your response is cacheable, Cloudflare stores it for the next request.
The next request from anywhere on Earth can be served from cache.
Infinitely composable, configured via standard HTTP headers
Snippet from the RSS feed
We are launching Workers Cache, a regionally tiered cache that sits directly in front of your Worker entrypoints. Infinitely composable, configured via standard HTTP headers

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.