y-sweet icon indicating copy to clipboard operation
y-sweet copied to clipboard

Add cache-control and expires headers to server responses

Open rolyatmax opened this issue 9 months ago • 0 comments

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 avatar Oct 11 '23 18:10 rolyatmax