I have a basic html site (html5 , JavaScript, jQuery) that I have running on an iPpad2. I do basic testing with a Google Chrome, just to test layout images and copy etc. My real test however needs to be on an actual iPad.
On the iPad, my code seems to have a 2-4 second delay as compared to Chrome which loads instantly. I have been unable to find the bottleneck. I added alerts at various points in the code, but all the alerts appear immediately, one after the other and it seems the delay occurs after the last alert which is at the last line of code.
The alerts may be misleading as maybe the code is cached before its executed? Is there something I should look for or avoid in my code in order to speed things up on the iPad?
An iPad is considerably slower than a desktop running Google Chrome would be. It’s expected to take a bit longer to do things.
If it was 10-20 seconds, I’d say check your code, but 2-4 seconds isn’t unreasonable for a page load.