For single page apps, what methods are there for forcing the page and/or JavaScript files to be reloaded when there have been updates deployed to the server?
One obvious way would be to poll some server resource to see if the current version of the app is running in the browser and if not then load the updated resources.
I'm wondering if there are more generally accepted methods that make use of specific HTTP or DOM features.
update
I'm reading about the HTML5 Appcache. This seems to be geared more towards applications that can run without requiring a server connection. I don't think this could be relevant for updating a SPA's resources (including the page itself) from the server. Am I correct?