Cache handling for static assets

Hello, I cannot find anywhere how to configure cache headers for static assets under workers. I'm planning to deploy Angular SSR app, obviously there are files like index.html or service worker which should be rather short lived and other that are immutable as build uses hash names. How can I configure this with static assets ? Also since I already dove into this question, can I somehow attach separately other files ? - Let's take an example of .well-known folder. That's something that is not necessary to be part of the build of my angular app, how can I make sure that those static files and folders are also served without having them in the angular app build. Thank you so much!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?