Driss Amri
Driss Amri

Reputation: 1805

Cloud Foundry node.js application loads slow on iOS Safari mobile

We have a Bluemix node.js application that loads perfectly in all browsers, except on Safari Mobile. Even on OSX Safari it works fine. We have tested this with iPhone 5, 6 and different iPads. We have done this over different WiFi networks and 3G/4G.

You can test it here: http://innowall-debug.eu-gb.mybluemix.net/ some of the resources on the first page already load very slowly. This issue is reproducible on the first page.

The strange thing is when you load the site over https it will load/render fast. What could be the issue causing this to go slow over http only for Safari mobile?

HTTP (slow entry highlighted - check latency 27secs):

enter image description here

HTTPS (fast):

enter image description here

Upvotes: 8

Views: 765

Answers (1)

Sai Vennam
Sai Vennam

Reputation: 567

My original instinct was that there is some render-blocking JS/CSS in your application that fails to resolve quickly in Safari. Running your website in Google PageSpeed Insights gives us some good information that could help fix that latency: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Finnowall-debug.eu-gb.mybluemix.net&tab=mobile

Eliminate render-blocking JavaScript and CSS in above-the-fold content Your page has 4 blocking script resources and 3 blocking CSS resources. This causes a delay in rendering your page.

Upvotes: 0

Related Questions