it already uses Workers Cache for the route-level ISR cache
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 straight from cache.
Incredible! This is why I shoehorn all my server side usecases on to the Workers Platform. Cloudflare, since 2020 when I first went all-in, has consistently shipped features that reduce bills significantly (except for 2023 Workers usage model changes). In one case, when they shipped free Snippets (Workers but 32kb code size & 5s CPU time) for Pro accounts ($200/yr), our bills went from £15k+ to £0.I know about the infamous "Enterprise plan" (especially, when your bandwidth is as high as ours in 100s of TBs) and know of at least one other tech shop that was required to pay for it ... but we haven't got that sales call, yet.
I am assuming it is a bunch of manual work.
A big worry was always "why does workers sit in front of my cache? that's a waste of an invocation if i'm returning a cached result"
On top of that the cache tags are a slick way to do invalidation. This looks like a great product.
I was looking forward to the "why it took us this long" explanation but it wasn't explicitly spelled out. Any Cloudflare staff here able to expand on that?
(The article does a good job of showing how many different smart design decisions went into this, but given caching is core to what a Cloudflare does I'm still a little surprised it took 9 years to get here!)
Why are we all of a sudden pretending like pre-LLM era blogs were these pristinely well written pieces of art or even that effort and care was put into them? In most cases they were significantly less coherent and incomplete. Don’t get me started on the mess that was the communication of this particular company or one of their competitors like AWS.
davidmurdoch•1h ago
CodesInChaos•1h ago
dan_sbl•58m ago
davidmurdoch•55m ago
jgrahamc•4m ago
ButlerianJihad•38m ago
lijok•49m ago
Responding to alleged slop with more slop doesn’t decrease the total amount of slop on the internet.
davidmurdoch•47m ago
skrebbel•45m ago
davidmurdoch•31m ago
geraneum•25m ago
lijok•
napsterbr•41m ago
> multi-tenant-safe cache keys
> on a server-rendered app
> byte-for-byte identical (classic)
> gets a cache-speed response
> cached-file-extensions list
Honestly, this is terrible. I had to add a "use simple words only, don't hyphenate unnecessarily" warning to my Claude config. After a full day of work, having to read these Claudisms all the time make a noticeable difference on how tired you get. It gets even worse when Claude starts to make up its own vocabulary.
arikrahman•39m ago
topgrain2•35m ago
napsterbr•32m ago
ignoramous•22m ago