Skip to content
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

Fix the loading bottleneck on iOS Safari (FontAwesome CDN?) #32

Closed
fabd opened this issue Jan 21, 2017 · 3 comments
Closed

Fix the loading bottleneck on iOS Safari (FontAwesome CDN?) #32

fabd opened this issue Jan 21, 2017 · 3 comments

Comments

@fabd
Copy link
Owner

fabd commented Jan 21, 2017

On my iPad Air 2 there is often a really long lag, half a second or more, you can see the progress bar is at just 10% or so, and there is the loading spinner, and the page is blank! Horrible delays on page load for staging on iOS Safari >_> makes no sense. It loads just fine on desktop. Safari even crashed once, what the hell is going on?

On staging Google Analytics is not enabled, so it's not that.

The page is blank, so it suggests it happens before the content, and before the YUI 2 / VueJS dependencies which are loaded later towards the end of the document.

I don't know how to pinpoint this on the handheld device. But it could be a good idea to cache FontAwesome anyway, so maybe we can use our own cache setting.

Solutions

  • deliver FontAwesome font from the koohii server, see if it makes a difference
  • figure out how to create a minimal build of FontAwesome with selected icons (we probably use less than 5% of all those icons!!) ... or just postpone this till we use SVG instead Use SVG icons instead of font based icons #16
@fabd fabd added the bug-minor label Jan 21, 2017
@faneca
Copy link

faneca commented Jan 22, 2017

For debugging, I recommend you do a search for remote debugging ios safari or similar. For example: http://stackoverflow.com/questions/11262236/ios-remote-debugging
Maybe you could also use a version of firebug lite (js) injected on the page.
I own no iOS devices, so I can't help further as I have no experience in this very topic. Good luck!

@fabd
Copy link
Owner Author

fabd commented Jan 25, 2017

Try #44 first.

@fabd fabd removed the bug-minor label Jan 25, 2017
@fabd fabd added this to the Front End Performance milestone Feb 9, 2017
@fabd
Copy link
Owner Author

fabd commented Feb 21, 2017

Happens with many sites on my iPad so I'll consider this a wontfix.

@fabd fabd closed this as completed Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants