You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: apply caching headers to pages router 404 with getStaticProps (#2764)
* fix: apply caching headers to pages router 404 with getStaticProps
* chore: don't store revalidate on request context for app router pages to limit potentially unwanted impact of the change
* chore: don't apply new 404 caching header code path, if existing method would have set cacheable header
* test: add notFound cases for 404 with getStaticProps without revalidate
* test: add fixture for 404 with getStaticProps with revalidate
* tmp: outline 404 integration test cases for page router
* test: update 404 caching tests
* fix: relax the conditions for caching 404s
* test: remove only
* feat: hide 404 caching behind env var
* test: remove only and console logs
* test: update static 404 test
* feat: reduce 404 caching scope to just the 404 page itself
* test: remove only modifier
* test: fix tests for new custom 404 pate
---------
Co-authored-by: Rob Stanford <[email protected]>
0 commit comments