v151 · loading · activation target
Activation target
This is the page that gets prefetched. When you arrive, it inspects its own navigation entry to tell you whether it was served from the prefetch cache.
Reading navigation timing…
deliveryType === "navigational-prefetch" proves this navigation committed using a prefetched response. An enabled, header-configured implementation proposes a server-facing activation request for that commit, but this client-side value neither triggers nor proves that the separate HEAD request was sent.
How it works
const nav = performance.getEntriesByType("navigation")[0];
// "navigational-prefetch" when served from a prefetch, "" otherwise
nav.deliveryType;