next.js
fc65fbb0 - Reuse bfcache data during Full prefetches (#88606)

Commit
58 days ago
Reuse bfcache data during Full prefetches (#88606) During a Full prefetch (`<Link prefetch={true}>`), check the bfcache for matching segment data before issuing a new request. The bfcache stores data from previous navigations, which always includes dynamic data. This optimization avoids redundant server requests when the user has already navigated to a route and the data is still fresh according to the staleTimes.dynamic configuration.
Author
Parents
Loading