-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issue on Safari/iOS iPad 3 #41
Comments
Hi @JpEncausse - was this not an issue with store.js? Either way I'd be curious to hear what was going on :) Cheers! |
Well it is really weird, on iOS (Safari/iPad3) if I run a JS code that update the DOM (not an alert) after DOM Load (on defer()) it seems the app waits few seconds to do the job. I think the defer() => PrototypeJS on DOM Load is delayed by MobileSafari may be to handle the appcache job. And it's really faster on Chrome. The workaround is to the job straight forward (no defer). There is no issue with store.js |
Very interesting! Thanks for sharing man. Cheers! On Thu, Apr 12, 2012 at 2:30 PM, Jean-Philippe Encausse <
My code http://github.com/marcuswestin |
It seems the initialisation of the store is really slow on Safari/iOS
How to reproduce:
=> On Chrome, the page is "instant" I only see a little flicks
=> On iPad3 / Safari, I have to wait 4 seconds until the page is updated
=> Next get/set are fast
According to this article (http://hacks.mozilla.org/2012/03/there-is-no-simple-solution-for-local-storage/) local storage is slow but I didn't think so much ??
The text was updated successfully, but these errors were encountered: