04-26-2013 12:20 PM
If I understand it correctly then "eveything" I put in the folder I use to package gets packaged into the "bar" file.
The "bar" file is what starts the app and displays the "index.html". This obviously implies that to get the start page displayed does not require an internet connection. If I also put "dependent" pages in the same folder they also seems to be "reachable" offline. How is this "internal" navigation within the "bar" file implemented? Is it 100% transparent with using server access for the dependant pages. I know there is an alternative using the "appcache". The difference being that appcache requires at least one internt access.
Solved! Go to Solution.
04-26-2013 01:48 PM
Navigation behaves the same way it would if you run a local .html file on your PC. Scripts and styles are loaded by their relative path to the index.html. The only difference is that the local file also has access to content hosted on a server (on another domain), as long as the URL is whitelisted.
If your local .html file references external resources, an internet connection is required every time the application launches. Using appCache, like you've said will only need to download these files once, and fetch from cache on every subsequent use.
Let me know if this answers your question.