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/" 


so today the assets served are coming with 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. What is going on?

I've also tried to configure a rule to apply this. Didn't have any impact neither
Screenshot_2025-02-22_at_15.39.44.png
Screenshot_2025-02-22_at_15.43.14.png
Screenshot_2025-02-22_at_15.43.26.png
Screenshot_2025-02-22_at_15.43.40.png
Was this page helpful?