Page lifecycle
Limited availability
The page lifecycle API helps you safely handle page suspensions or discards from memory. The freeze
and resume
events fire when the browser suspends or resumes a page from memory while the document.wasDiscarded
property reports whether the page was reloaded after being dropped.
Compatibility
- Chrome 68 Released on 2018-07-24
- Chrome Android 68 Released on 2018-07-24
- Edge 79 Released on 2020-01-15
- Firefox ❌ Search for bugs Search for standards position
- Firefox for Android ❌ Search for bugs Search for standards position
- Safari ❌ Search for bugs Search for standards position
- Safari on iOS ❌ Search for bugs Search for standards position
Specifications
- Page Lifecycle, from Web Platform Incubator Community Group (W3C).