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
reasonRead 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
NotRestoredReasonDetailsobject.
Examples
See Monitoring bfcache blocking reasons for examples.
Specifications
| Specification |
|---|
| HTML Standard # notrestoredreasondetails |
Browser compatibility
BCD tables only load in the browser