ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y agoโ€ข
15 replies
warflash

Cache Rules don't work when origin Cache-Control is set

When setting up Cache Rules and my origin responds with a Cache-Control Header then cloudflare will always use that, even when specifying Ignore cache-control header and use this TTL in the rule settings.
I've attached a screenshot of my settings, the cdn subdomain is pointing to digitalocean spaces which sets a Cache-TTL of one minute. So even with those settings telling it to overwrite the TTL with 3 hours it still uses 60s instead.
Any idea how I can resolve this? ๐Ÿ™
image.png
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

Always revalidate cache with origin cache-control: no-cache
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Cache / page rules being ignored (cache-control etc)
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Why doesnt work my Origin Rules
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Origin Cache-Control Headers Not Passed by CF
Cloudflare DevelopersCDCloudflare Developers / general-help
9mo ago