Files
Andrew ClarkandGitHub 646b4c3c60 [Segment Cache] Fix: Skew during dynamic prefetch (#79416)
Fixes a bug that occurred when prefetching a Link to a dynamic page on a
different deployment. I didn't catch this earlier during dogfooding
because the app we were testing it on was using skew protection. It also
only applies to non-PPR/static routes.

This particular case happens when an app is redeployed on the server,
but it can also happen when linking to a completely different Next app.
2025-05-21 10:31:08 -04:00

29 lines
695 B
React

import { LinkAccordion } from '../components/link-accordion'
export default function Page() {
return (
<ul>
<li>
<LinkAccordion href="/dynamic-page">
Dynamic page, same deployment
</LinkAccordion>
</li>
<li>
<LinkAccordion href="/dynamic-page?deployment=2">
Dynamic page, different deployment
</LinkAccordion>
</li>
<li>
<LinkAccordion href="/static-page">
Static page, same deployment
</LinkAccordion>
</li>
<li>
<LinkAccordion href="/static-page?deployment=2">
Static page, different deployment
</LinkAccordion>
</li>
</ul>
)
}