Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
the "Browser Cache TTL" does nothing - Cloudflare Developers
CD
Cloudflare Developers
•
12mo ago
•
3 replies
niconiahi
the "Browser Cache TTL" does nothing
i
'm running a React Router 7 application
, with the
"assets
" configuration key being used like this
[assets]
directory = "./build/client/"
[assets]
directory = "./build/client/"
so today the assets served are coming with
max-age=0
max-age=0
i want them to be the maximum there is
, 1 year
, as all of those assets are fingerprinted
I tried setting the
"Browser Cache TTL
" which effectively annunciates itself as the solution I need but when applied
, I still get the
max-age=0
max-age=0
. What is going on
?
I
've also tried to configure a rule to apply this
. Didn
't have any impact neither
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Cache using fetch - cache TTL by response header
CD
Cloudflare Developers / workers-and-pages-help
10mo ago
create TTL cache in CF worker
CD
Cloudflare Developers / workers-and-pages-help
14mo ago
Why does the Cache API cache automatically add or change the `maxage` in the `cache-control` header?
CD
Cloudflare Developers / workers-and-pages-help
3y ago