NotRestoredReasonDetails
Performance API
Performance API
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
- : A string describing a reason that the page was blocked from using the back/forward cache.
Instance methods
- toJSON()
- : Returns a JSON-serializable plain object representing the
NotRestoredReasonDetailsobject. Automatically called by JSON.stringify().
Examples
See Monitoring bfcache blocking reasons for examples.
Specifications
Browser compatibility
See also
- Monitoring bfcache blocking reasons
- PerformanceNavigationTiming.notRestoredReasons