NotRestoredReasons: reasons property
Performance API
Performance API
The **`reasons`** read-only property of the
NotRestoredReasons interface returns an array of NotRestoredReasonDetails objects, each representing a reason why the navigated page was blocked from using the back/forward cache (bfcache).
## Value
An array of NotRestoredReasonDetails objects. See [Blocking reasons](/docs/Web/API/Performance_API/Monitoring_bfcache_blocking_reasons#blocking_reasons) for a list of the possible blocking reasons.
If the document is in a cross-origin iframe, `reasons` will return `null`, but the parent document may show a `reason` of `"masked"` if any `<iframe>`s blocked bfcache usage for the top-level frame.
## Examples
See [Monitoring bfcache blocking reasons](/docs/Web/API/Performance_API/Monitoring_bfcache_blocking_reasons) for examples.
## Specifications
## Browser compatibility
## See also
- [Monitoring bfcache blocking reasons](/docs/Web/API/Performance_API/Monitoring_bfcache_blocking_reasons)
- PerformanceNavigationTiming.notRestoredReasons
Cite this
"NotRestoredReasons: reasons property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/NotRestoredReasons/reasons JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy