Uh oh!
There was an error while loading. Please reload this page.
Add documentation for cache control immutable - #8027
Conversation
See https://github.com/nextcloud/server/pull/31141/files Signed-off-by: Carl Schwan <carl@carlschwan.eu>
318adbd to
b30299cComparete-online
commented
Feb 15, 2022
This didn't work for me. Adding the directive resulted in 404s for urls like This is a pretty vanilla setup, using docker and |
CarlSchwan
commented
Feb 15, 2022
Thanks for the feedback, I will look into ut tomorrow |
icewind1991
commented
Feb 16, 2022
Did some more testing and I can reproduce, I think I placed the block in a different place when testing initially 🙈 Adding the |
This is a general "issue" with Nginx, not all directives present in the parent location block are inherited. AFAIK this affects Are there actually assets without versioned query string? Otherwise we could just merge it by appending Also, what is actually the reason for using just 7 days caching for fonts? Couldn't they be merged with the other assets? |
See nextcloud/server#31141
I didn't test it, can an nginx expert try to see if the syntax is correct?
Signed-off-by: Carl Schwan carl@carlschwan.eu