Note that there are some explanatory texts on larger screens.

plurals
  1. POjavascript "click once" style
    primarykey
    data
    text
    <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/1207150/html-5-offline-caching">HTML 5 offline caching</a> </p> </blockquote> <p>I'm coming from a desktop app world, but getting into javascript and the web world more. The more I work with javascript the more I like it's functionality. I hate page reloads and use ajax for any communication I need outside of the initial page load to the site. My app to this point is 100% client side and uses local storage to store it's information with the ability to upload to a server side DB on the users request &amp; when internet access is available.</p> <p>The "click once" reference in the title is the sort of functionality I'm wanting to get out of this app. Since the app is 100% client side it needs to be available off-line. Is there a way I can treat this app as sort of a "click once" style, where the first time you access the web page it'll download the page. Then each time you try to access the page from then on is able to detect if the user has a fast enough internet connection (this check needs to be fast obviously), and if so somehow check on the server if any changes to the app were made (no need to redownload the entire page at this point, just a simple check of difference with a small yes/no response). If no changes just open the local cache of the site. If changes redownload the page and now make it the new local cache.</p> <p>Is there a way to get this functionality?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload