y-sweet
y-sweet copied to clipboard
Add cache-control and expires headers to server responses
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.