struct Protocol::Page::BackForwardCacheNotUsed
- Protocol::Page::BackForwardCacheNotUsed
- Struct
- Value
- Object
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
- JSON::Serializable
- Protocol::Event
Defined in:
protocol/page.crConstructors
Instance Method Summary
-
#frame_id : FrameId
The frame id of the associated frame.
-
#loader_id : Network::LoaderId
The loader id for the associated navgation.
-
#not_restored_explanations : Array(BackForwardCacheNotRestoredExplanation)
Array of reasons why the page could not be cached.
-
#not_restored_explanations_tree : BackForwardCacheNotRestoredExplanationTree | Nil
Tree structure of reasons why the page could not be cached for each frame.
Constructor Detail
Instance Method Detail
def not_restored_explanations : Array(BackForwardCacheNotRestoredExplanation)
#
Array of reasons why the page could not be cached. This must not be empty.
def not_restored_explanations_tree : BackForwardCacheNotRestoredExplanationTree | Nil
#
Tree structure of reasons why the page could not be cached for each frame.