Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface default.Page.BackForwardCacheNotUsedEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { BackForwardCacheNotUsedEvent } = default.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.