[dynamicIO] update prerender cache scoping and cache warming for validation (#71822)
Updates the heuristic to scoping prerender caches during dev. A cache scope will be created for every request if one does not already exist. If the request is a server action we create a new one. existing caches already expire after 30 seconds (unchanged) This updates the prefetch cache purge to be 5 seconds since so we don't mask short lifetime caches This also adds cache tracking to the first RSC render of the validation render. This means we now need to always do a second render regardless of whether there is a sync abort.
Showing
Please
register
or
sign in
to comment