© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•6mo ago•
4 replies
Tushar

Workers Caching

Hey, I’m using a worker to serve protected assets. The problem I’m facing is that the cache-control headers I’ve set aren’t being applied, so the responses aren’t getting cached as expected. I’m trying to figure out whether this is happening because I don’t have a custom domain configured, or if caching should work without one. Could you help me understand what I might be missing?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

R2 caching vs workers caching
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Caching for Workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
11mo ago
Disable cookie caching via Workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
workers site caching and DDoS
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago