MDN self-hosted library · e01.org

NotRestoredReasonDetails

Performance API

no runnable cells web-api-interface upstream source

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 NotRestoredReasonDetails object. Automatically called by JSON.stringify().

Examples

See Monitoring bfcache blocking reasons for examples.

Specifications

Browser compatibility

See also