Update manual revalidate response cache handling (#36462)
This updates to ensure we only resolve a manual revalidate request when the cache has been fully set instead of eagerly like we do for generating pages in `fallback` mode. This also ensures the response cache keys manual revalidate requests separate from normal requests to ensure one doesn't block the other. This should resolve the below flakey tests. x-ref: https://github.com/vercel/next.js/runs/6163218261?check_suite_focus=true x-ref: https://github.com/vercel/next.js/runs/6157328196?check_suite_focus=true x-ref: https://github.com/vercel/next.js/runs/6151165153?check_suite_focus=true
Showing
Please
register
or
sign in
to comment