The default cache-control header has a heavily negative impact on my web app. Content is generated dynamically as you navigate through the app. Images are constantly being reused but without cache they involve a delay which is clearly noticeable.
This slows down navigation a lot and is not acceptable. But it should be ok because you can change the header. So I set this
[[headers]] for = "*" [headers.values] cache-control = "public, max-age=600"
That works like a charm for a while. But after a few minutes Netlify goes back to serving the default header and the annoying experience comes back with it.
Why? How can we solve this?