rsnext/test/e2e/app-dir/app-client-cache
Zack Tanner 4e03b85cee
seed prefetch cache with initial page (#61535)
### What
When navigating back to a page that you had already loaded, it currently
results in a prefetch cache miss and will re-trigger any data
fetching/loading despite it being available.

### Why
When creating the initial router state, the prefetch cache is
initialized to an empty map.

### How
This uses the `initialTree` passed from the server to seed the cache for
that route with flight data.

Closes NEXT-2001
2024-02-13 15:42:53 +00:00
..
app Reland "app-router: new client-side cache semantics" (#48695) 2023-04-22 10:41:08 +00:00
client-cache.test.ts seed prefetch cache with initial page (#61535) 2024-02-13 15:42:53 +00:00
next.config.js Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00