ipad - HTML5 offline capabilities in a sub directory -
i'm trying setup ipad app work offline. able work told put app in multiple sub directories. when did , update cache manifest file new destinations of files kept getting error site wouldn't work because wasn't connected internet. tried multiple paths , looked different ideas have come empty handed. way offline mode working site inside sub directories?
thanks.
this shouldn't make difference. make sure urls in manifest relative , end manifest with:
network: *
furthermore make sure don't forget add images, libraries etc. cached url's manifest. caps can make difference. open console of developer tools in chrome see what's being cached , breaks loading appcache.
also make sure there no iframes (ie. like-buttons) on homepage(page includes manifest attribute in html-tag) always cached.
little trick: if want fallback you're homepage place manifest attribute in invisible iframe on homepage of app. way have total control on what's cached , not.
Comments
Post a Comment