NotRestoredReasonDetails

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 Standard
# notrestoredreasondetails

Browser compatibility

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

See also