NotRestoredReasonDetails

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The NotRestoredReasonDetails interface of the Performance API represents a single reason why a navigated page was blocked from using the back/forward cache (bfcache).

An array of NotRestoredReasonDetails objects can be accessed via the NotRestoredReasons.reasons property.

Instance properties

reason Read only Experimental

A string describing a reason that the page was blocked from using the back/forward cache.

Instance methods

toJSON() Experimental

A serializer; returns a JSON representation of the NotRestoredReasonDetails object.

Examples

Specifications

Specification
HTML
# notrestoredreasondetails

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
NotRestoredReasonDetails
Experimental
reason
Experimental
toJSON
Experimental

See also