struct Protocol::Page::BackForwardCacheNotUsed

Overview

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.

Included Modules

Defined in:

protocol/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def frame_id : FrameId #

The frame id of the associated frame.


[View source]
def loader_id : Network::LoaderId #

The loader id for the associated navgation.


[View source]
def not_restored_explanations : Array(BackForwardCacheNotRestoredExplanation) #

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


[View source]
def not_restored_explanations_tree : BackForwardCacheNotRestoredExplanationTree | Nil #

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


[View source]