Precognition vary header #52111
-
Hi, just want to ask, why does the Maybe @timacdonald can share the reason? |
Beta Was this translation helpful? Give feedback.
Answered by
timacdonald
Jul 16, 2024
Replies: 1 comment 4 replies
-
Hey, @apih, the Vary header is used as a cache key to indicate that a page is different. It needs to be on all requests for the given URL. You can read more about it in the MDN docs: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary Hope that helps. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may use Precognition on any request method.