Have you tried your examples?
I can't get it to work.
When i launch page with empty "localStorage", everything works fine, and main_template.html appears in the body. Also "var cachedFiles" contains "getFile" method.
But when i refresh the page "var cachedFiles" becomes undefined and i get "Uncaught TypeError: Cannot call method 'appendChild' of null" (bootup.js line 177).
Have you tried your examples? I can't get it to work.
When i launch page with empty "localStorage", everything works fine, and main_template.html appears in the body. Also "var cachedFiles" contains "getFile" method.
But when i refresh the page "var cachedFiles" becomes undefined and i get "Uncaught TypeError: Cannot call method 'appendChild' of null" (bootup.js line 177).
Do i need to get html files manually from cache?