Back/forward cache blocking reasonsLimited availability
The notRestoredReasons property of a PerformanceNavigationTiming object explains why the current document was blocked from using the back/forward cache (also known as the bfcache) on navigation.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–124Not supported
125+Supportedsince May 14, 2024
Current: 155Edge
12–124Not supported
125+Supportedsince May 17, 2024
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18–124Not supported
125+Supportedsince May 14, 2024
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Firefox, Safari, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: NotRestoredReasonDetails.
Feature detection
JS · check before using
if ("NotRestoredReasonDetails" in globalThis) {
// NotRestoredReasonDetails is available
} else {
// load a polyfill or use a fallback
}Sub-features
Support for each part of the feature (12). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| NotRestoredReasonDetails | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasonDetails.reason | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasonDetails.toJSON | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasons | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasons.children | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasons.id | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasons.name | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasons.reasons | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasons.src | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasons.toJSON | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| NotRestoredReasons.url | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |
| PerformanceNavigationTiming.notRestoredReasons | 125 | 125 | ✕ | ✕ | 125 | ✕ | ✕ |