© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
create TTL cache in CF worker - Cloudflare Developers
CD
Cloudflare Developers
•
15mo ago
•
17 replies
devin
create TTL cache in CF worker
I need to throttle some code in a CF worker
. i
.e
.
, if something is called 5 times in a 2 minutes
, run it only once
. I was thinking to use something like ttl cache to implement but this isn
't working
https://www.npmjs.com/package/@isaacs/ttlcache
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
86,942
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Why CF doesn't cache this worker?
CD
Cloudflare Developers / workers-and-pages-help
14mo ago
Worker Websocket TTL Cleanup
CD
Cloudflare Developers / workers-and-pages-help
12mo ago
How cache worker that needs read cf headers?
CD
Cloudflare Developers / workers-and-pages-help
3mo ago