Re:Mobile Safari's Performance Is Not the Problem
by MBCook on Wednesday July 29, 2015 @11:45AM
(#9969378)
It's AMAZING what a difference that can make, which really just shows how terribly written the JS on most sites is. It's often faster when pulling up an article in Twitterrific to have it open in Safari than to try to let it finish 'loading' in the web view.
No page should have so much JS (for ads and such) that without a hyper-fast JS engine it feels like it stopped loading.
Re:Mobile Safari's Performance Is Not the Problem
by untog on Wednesday July 29, 2015 @11:48AM
(#9969398)
which really just shows how terribly written the JS on most sites is
IMO, not necessarily. I was playing around with a D3 visualization that ran terribly within the UIWebView, there was really very little I could do about it.
But I won't argue that plenty of sites are overusing JS for rendering etc when they should be leaving that to static HTML.
Re:Mobile Safari's Performance Is Not the Problem
by MBCook on Wednesday July 29, 2015 @06:27PM
(#9971999)
Visualizations and demos and games and such make sense to me. But when the page has finished loading and looks like every other page of text with some image ads? Yeah you didn't need that JS did you.
Re:Mobile Safari's Performance Is Not the Problem
by pierre on Wednesday July 29, 2015 @12:26PM
(#9969716)
UiWebView from fb/tw is really the biggest pain point on iOS when most of your traffic come from social media.
The only way I foud to escape it is to add a little bit of js to perform the following :
- test if the browser is an UI webview
- if yes redirect to ftp://(mysite).com
- safari will intercept this uri scheme and try to open the ftp link.
- serve an html page over ftp than just contain a small js script that redirect to the original url.
- the user is back to the original page but on safari and can now browse more modern web content (webgl games?)This is tedious, broke the back button and glimps for half a seconds beforebuser can access my content. I will loved to not have to do it anymore.
Apple have released the WKWebView but last I checked it has a number of bugs/errors that make it very difficult to use.