rsnext/test/integration/build-output
Shu Ding 2d207fb11d
Dedupe in-flight server data requests (#22781)
This PR adds request deduplication for `_getServerData`. If a request with the same URL is already in-flight, we don't send another new request. When a request succeeds or fails, we delete the cache.

A potential improvement this brings is, when `getServerSideProps` of a new route is slow to load, the user might keep clicking on the link which causes new requests, and the route will never update because results of old requests were ditched. Also adds a test case for this scenario.

Closes #19238.
2021-03-05 17:16:02 +00:00
..
fixtures fix: correctly handle fallbacks for webpack 5 (#22497) 2021-02-24 10:25:57 -06:00
test Dedupe in-flight server data requests (#22781) 2021-03-05 17:16:02 +00:00