Note that there are some explanatory texts on larger screens.

plurals
  1. POAppCache excruciatingly slow on iOS
    primarykey
    data
    text
    <p>I am developing a web-app utilizing Application Cache, and everything is working great on desktop browsers and on Android (even very old &amp; slow android handsets). However downloading the appcache is taking much much much longer on iOS 6 in both Safari and Chrome.</p> <p>My application cache <strong>total</strong> size is a mere 2.1Mb, and I have a pretty solid 70Mbps (download) internet connection. I would expect caching to be pretty rapid.</p> <p>Here are my times so far:</p> <ul> <li>Desktop Chrome: <strong>&lt;1s</strong> <em>(similar times for Safari &amp; Firefox)</em></li> <li>Android 2.3.3 Stock Browser: <strong>~4s</strong> <em>(similar times for Chrome &amp; Dolphin)</em></li> <li>Android 4.2.2 (Emulated): <strong>~7s</strong> (running inside a PhoneGap app)</li> <li>iPhone 4S 6.0 Safari: <strong>8 minutes!!!</strong> (around the same in iOS Chrome too!!)</li> <li>iPad 2 6.0 Safari: <strong>as above!!!</strong></li> </ul> <p>All of these devices are using the same wifi and internet connection, and my iPhone/iPad are otherwise functioning fine (no native apps exhibiting internet speed issues, and regular websites load just fine). There just seems to be something absolutely decimating AppCache download speed under iOS.</p> <p>The <code>window.applicationCache.status</code> throughout this time is <code>appCache.DOWNLOADING</code>, and I have a <code>progress</code> event running counting the files as they are downloaded, so I'm certain that it is not stuck elsewhere. This just appears to be the time it takes to download. What gives?</p> <p><strong>Addendum</strong> : The iPhone also runs ridiculously hot, and the battery ticks down very quickly during this operation. It seems that <em>something</em> is causing the CPU to run flat-out during this download.</p> <p>(Note: I can't publish a link to the web-app here as we're still in private beta, but if you would need to see it before you think you'd be able to help diagnose it, email me at the address in my profile and I'll send a link to the app).</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.
    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