Skip to content

Conversation

@CarlSchwan
Copy link
Member

Signed-off-by: Carl Schwan [email protected]

@icewind1991
Copy link
Member

After some more testing I realized that nginx doesn't use the query params when matching location blocks so that can't be used to distinguish the requests in this way.

I've submitted a version using map here: #8083 which works in my testing (without ?v=1 you get normal cache-control, with ?v=1 you get cache-control: immutable)

@CarlSchwan CarlSchwan closed this Feb 21, 2022
@pierreozoux pierreozoux deleted the nginx-immuatable-cache2 branch May 20, 2022 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants