rsnext/test/production/app-dir-prevent-304-caching
Giovanni Fumagalli 74153e1208
Prevent caching page with 304 status (#57737)
I think that sometimes when a revalidation happens from a request with
caching headers this causing the 304 status to be cached.

This PR ensures the 304 from an initial response doesn't affect a
background revalidation.

Fixes: https://github.com/vercel/next.js/issues/56580

---------

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2023-10-31 17:48:03 -07:00
..
app Prevent caching page with 304 status (#57737) 2023-10-31 17:48:03 -07:00
index.test.ts Prevent caching page with 304 status (#57737) 2023-10-31 17:48:03 -07:00
next.config.js Prevent caching page with 304 status (#57737) 2023-10-31 17:48:03 -07:00