Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ralee's avatar

My website is too slow...

Hi guys,

My website is too slow... Can someone advice me on how can i reduce my page loading speed?

The page speed test i conducted took 50+ Seconds to load.
I am using Browerify and vue.js in this project.

Would really appreciate some help.

Cheers
Ralee

0 likes
28 replies
ohffs's avatar

@ralee try running traceroute minghan.sg - assuming your on a mac or linux (not sure if Windows has that built-in). I get about as far as 'ip-182-50-156-222.ip.secureserver.net' then nothing else. So possibly a routing or maybe firewall error somewhere after that (it looks like secureserver.net is your hosting co?)

thomaskim's avatar

If you're on one of those shared host by GoDaddy, then yea, I think they're known to be super slow.

phildawson's avatar

It's the Apache/2.4.12 or network rather than your code. Try just a single resource which should be instant but takes like 20 seconds, you can see the stream of content loading.

http://minghan.sg/js/bundle.js

ralee's avatar

@thomasskim, Yes i am on GoDaddy shared server. Its so slow its killing me, should i downgrade it to a dedicated server?
@ohggs, am running the traceroute now.

traceroute to minghan.sg (166.62.28.90), 64 hops max, 52 byte packets
 1  router.asus.com (192.168.1.1)  1.565 ms  1.161 ms  1.087 ms
 2  182.55.229.2 (182.55.229.2)  4.132 ms  3.862 ms  3.584 ms
 3  an-ts-br05.starhub.net.sg (183.90.44.33)  4.021 ms  4.115 ms  3.653 ms
 4  183.90.44.17 (183.90.44.17)  4.430 ms  3.864 ms  3.912 ms
 5  203.117.34.33 (203.117.34.33)  3.273 ms
    203.116.20.155 (203.116.20.155)  3.573 ms  6.365 ms
 6  203.117.36.42 (203.117.36.42)  6.653 ms
    if-1-3-0-1109.tcore1.svq-singapore.as6453.net (180.87.96.45)  3.629 ms  5.886 ms
 7  120.29.215.18 (120.29.215.18)  5.255 ms
    203.116.20.155 (203.116.20.155)  3.599 ms  4.065 ms
 8  ip-182-50-156-222.ip.secureserver.net (182.50.156.222)  5.413 ms  5.466 ms
    if-1-3-0-1109.tcore1.svq-singapore.as6453.net (180.87.96.45)  4.013 ms
 9  120.29.215.18 (120.29.215.18)  4.870 ms
    ip-182-50-156-222.ip.secureserver.net (182.50.156.222)  4.434 ms  4.366 ms
10  ip-182-50-156-222.ip.secureserver.net (182.50.156.222)  5.195 ms *  8.122 ms
11  ip-182-50-156-222.ip.secureserver.net (182.50.156.222)  4.928 ms  4.700 ms  4.608 ms
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  ip-182-50-156-222.ip.secureserver.net (182.50.156.222)  4.505 ms !X * *
18  * * *
19  * * *
20  * * *
21  * * *

I cramp almost all my JS with browserify and thought that might be the cause of the additional loading speed. Is this wrong?
Thanks for the attention guys! please help
ohffs's avatar

@ralee if you are in Singapore, you could do worse than get a digitalocean VPS - they have a datacentre right there.

ralee's avatar

@ohffs so are you suggesting that i replace GoDaddy with this ? Thanks for the guidance btw.
i really do appreciate them!

ohffs's avatar

@ralee yep - it'll save you headaches in the long run. You can also use tools like https://forge.laravel.com/ to make things pretty straightforward if you aren't already familiar with setting up a server.

jlrdw's avatar

I am on godaddy and my sire loads very fast. Are you sure you're not loading to much background junk. My site I have all the js files locally, whereas I've seen some of those sites that load fifteen different libraries from Google and other sites take forever to load and I have cable very high speed internet at my house.

opheliadesign's avatar

Did not take long for your site to load for me, east coast of US.

ralee's avatar

@mkr, I have just got off the phone with GoDaddy. Same advice was given to use CDN. I will try it out later today. Thank you for the link!

@jlrdw, Can you elaborate on how i can go about caching the content or storing them locally? Sorry i am quite raw with server side/ page speed optimisation.

@bashy, Can i verify that my entire site took less than a second to load up? On your site. (including the map and etc)

@opheliadesign, thanks for the information. I guess the network is the culprit here.

Thanks guys for the help. Really appreciate them.

Cheers
Ralee

ralee's avatar

@ohffs,

Issue with switching is that, my client already have the URL and email (purchased through GoDaddy) setup and printed on their name card. It will be a huge headache to set them up. I will probably have to try out CDN and hope for the best. Will definitely try out digitalocean VPS forge.laravel for my next project.

Cheers,
Ralee

ralee's avatar

@zachleigh,

Was it just the home page? Or the entire page with the map and etc..

jekinney's avatar

Cdn can help as other sites use them and the user may have the files cached.

Someone mentioned it already, but I want to say again. Try to minimize your CSS and JavaScript files to a minimum. Meaning, the average simultaneous downloads is 4. Older browsers 2, couple of newer up to 8. So if you have bootstrap, custom style sheet, jQuery, a few separate plug-ins can cause issues depending on the users browser.

Concatenate and minimize files where possible and use blade @yield for pages that need a plugin that most pages don't. After a user loads the home page the main files will download and as they hit other pages only then will specific other files download.

ralee's avatar

@jekinney,

I have already set up CDN via cloudflare so i believe its going to take awhile before everything kicks in. *am hoping for a miracle in terms of the loading time"

Yes i have done the minification on almost everything i could.
Also I bundled whatever i could into one bundle.js file using browserify due to the nature of my website (one page site), i cant separate resources by pages. Do you have suggestions on how i can improve my page speed base on my current arrangement?

Cheers,
Ralee

MikeHopley's avatar

I didn't find the site too slow, although I am on a decent connection.

I ran it through WebPageTest (on default settings), and this is the result. Overall you're not doing too badly, but there are some things you could improve.

For example, it looks like you could save ~130 kb by losslessly compressing your images. You could also implement long-term caching of your static assets (images, js, css...), which would reduce the number of HTTP requests on subsequent visits.

You have a lot of HTTP requests to googleapis.com. What's that about?

ralee's avatar

After setting up CDN. my page took less than 3 seconds to load. Thank you @mkr for the suggestions.
Also a big thank you to everybody for helping out.

ralee's avatar

@Mike Hopley, That's probably the google map js or google font js.

Snapey's avatar

Issue with switching is that, my client already have the URL and email (purchased through GoDaddy) setup and printed on their name card. It will be a huge headache to set them up. I will probably have to try out CDN and hope for the best. Will definitely try out digitalocean VPS forge.laravel for my next project.

Don't be held to ransom by any domain registrar. You are free to move your domain if you want. But, there may not be a need to move completely away from Godaddy, just change the IP address for your www server in their DNS control panel to the new hosting provider.

I do this with several of my domains. A cheap hosting and names provider is used to register all my domains and to provide mail boxes and mail forwarding, then I just set the DNS to point to a web server at Digital Ocean. I then don't need to worry about DNS and email etc on my droplet.

1 like

Please or to participate in this conversation.