Skip to content

Conversation

@nidhijaju
Copy link
Contributor

Fixes #3276.

Copy link
Contributor

@jeremyroman jeremyroman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This note seems, to me, too vague to be helpful. If something like this is useful, I think it'd need to explain a bit more why and what can be done about it (e.g., excluding particular query parameters for cache-busting purposes, Cache-Control: no-cache from the client; I haven't thought about this in detail lately).

No-Vary-Search: params, except=("productId")
~~~~

Note that common approaches for ensuring caches return non-cached responses by changing query parameters are often ineffective when combined with the No-Vary-Search header field.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting: `No-Vary-Search`

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait. They aren't ineffective, they don't work at all. Or am I missing something?

No-Vary-Search: params, except=("productId")
~~~~

Note that common approaches for ensuring caches return non-cached responses by changing query parameters are often ineffective when combined with the No-Vary-Search header field.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait. They aren't ineffective, they don't work at all. Or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

no-vary: cache busting

3 participants