Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Page.BackForwardCacheNotUsedEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { BackForwardCacheNotUsedEvent } = Protocol.Page;

Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do not assume any ordering with the Page.frameNavigated event. This event is fired only for main-frame history navigation where the document changes (non-same-document navigations), when bfcache navigation fails.

Properties

The loader id for the associated navgation.

frameId: FrameId

The frame id of the associated frame.

notRestoredExplanations: BackForwardCacheNotRestoredExplanation[]

Array of reasons why the page could not be cached. This must not be empty.

optional
notRestoredExplanationsTree: BackForwardCacheNotRestoredExplanationTree

Tree structure of reasons why the page could not be cached for each frame.