PageTransitionEvent persisted Property
Example
Find out whether the page was cached by the browser:
	function myFunction(event) { 
    alert(event.persisted);
}
Try it Yourself »
Definition and Usage
The persisted property returns a Boolean value that indicates if the webpage is loaded directly from the server, or if the page is cached, when an onpageshow or onpagehide event occurs.
This property is read-only.
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
| Property | |||||
|---|---|---|---|---|---|
| persisted | Yes | 11.0 | Yes | 5.0 | Yes | 
Syntax
	event.persisted
Technical Details
| Return Value: | A Boolean, indicating whether the webpage is loading from a cache. Possible values: 
 | 
|---|
Related Pages
HTML DOM reference: The onpageshow Event
 Event Object
 Event Object

