Zhen
Zhen

Reputation: 12431

Code runs faster on localhost (via POW) then on server on mobile browser

I am using POW to set up my iPhone to test a web app on localhost.

The javascript performance that ran on the POW localhost on my phone is good i.e. scrolling and loading was fast.

However, when I switch over to using a heroku server to run the web app (same code base), the performance dropped tremendously i.e. scrolling is sluggish and loading is slow.

From my understanding, performance of code on localhost (uncompiled javascript etc) should not be faster than the one running on the heroku-server.

Has anyone encountered this before? What could have caused the server's performance difference in performance?

The link to my website (on heroku server) is as follows: beta.dailymus.es - open on mobile browser

Upvotes: 1

Views: 505

Answers (0)

Related Questions