I just found out that Firebase Storage uses some less-then-ideal caching headers (it basically doesn't allow the browser to cache anything). After some digging I found that I could modify this behaviour by setting a file's metadata
But what if I just want all files in a certain folder (/static/
, for example) to have a really long expiration? Do I really need to set the metadata for every single file I upload (more data usage, more code) or is there some way I can create a rule?
The most logical place for this would be the 'rules' tab but from the docs it looks like this is only used for access control? (security)