html5 - Android/iOS/Win: force browser to save HTML/JS/CSS indefinitely -


we're going create data-driven mobile html5 app. thinking can access using default browser on each platform. read caching behavior of browsers on latest versions of ios , android, wasn't able find information possibility of telling browser, using sort of headers or whatever, store particular resource, html or js or css or image, indefinitely in cache until date, ex. possible?

the idea here users open application regularly not often. browsing fill cache other data; need "pin" or "anchor" our app stay there despite cache being filled, "higher priority".

any other suggestions welcome (ie., creating "shell" native app, etc.)

these links answered question:

http://www.w3schools.com/html/html5_app_cache.asp http://www.html5rocks.com/en/tutorials/appcache/beginner/#toc-updating-cache


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -