Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically set Vary: Cookie response header in Nuxt SSR #286

Open
3 tasks done
rudolfbyker opened this issue Mar 13, 2024 · 0 comments
Open
3 tasks done

Automatically set Vary: Cookie response header in Nuxt SSR #286

rudolfbyker opened this issue Mar 13, 2024 · 0 comments
Labels
✨ enhancement New feature or request

Comments

@rudolfbyker
Copy link

Clear and concise description of the problem

As far as I understand, if we use have a cookie that influences the page contents (e.g., a theme cookie), then we should also set a Vary: Cookie response header. This is what the cookie storage does.

Suggested solution

Do you think it's within scope of @pinia-plugin-persistedstate/nuxt to automatically set the Vary: Cookie header when cookie storage is used?

Alternative

No response

Additional context

No response

Validations

@rudolfbyker rudolfbyker added the ✨ enhancement New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant