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

Add cache-control and expires headers to server responses #157

Open
rolyatmax opened this issue Oct 11, 2023 · 0 comments
Open

Add cache-control and expires headers to server responses #157

rolyatmax opened this issue Oct 11, 2023 · 0 comments

Comments

@rolyatmax
Copy link
Member

Some clients (e.g. Nextjs) will automatically cache all responses (even POST requests). I think adding cache-control: no-store and expires: 0 headers to the responses should mean we can drop framework-specific cache-control logic from our TypeScript SDK library.

@rolyatmax rolyatmax assigned rolyatmax and unassigned rolyatmax Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant