Javascript - updateReady

Description

Fires when the updates to the cached files have been succesfully downloaded.

Discussion

Fires after an updated version of the cache has been downloaded. Your code should execute:

window.location.reload();

This will reload the page using the new files in the application cache.

If you do not include this code the user will not see the new version of the UX component until the NEXT time they load the page.

 Example

//reload the page so that the new version of the UX component is shown
window.location.reload();