My website was working fine yesterday (loading normally and such) then suddenly becomes super slow, saw it on the network tab

As I deployed my web-app (its an HTML5 game) it was working as intended yesterday, and loads finely and smoothly. Then I went to sleep and check now. And voila, suddenly the website loads very very slowly. I checked the console to see anything like errors. none. then I check network tab on developer tools in chrome. and saw that it takes like 3minutes to load a 400kb PNG file… like what happened?

This is hosted on a digital ocean droplet with 16 GB ram, 50 GB disk

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I realized something after testing, its fast during the nights here at my time, yet during the day time, its super slow. I tried using Data, Different Internet (Via going to cafes and etc) its the same scenario.

Bobby Iliev
Site Moderator
Site Moderator badge
August 19, 2022

Hi there,

What I could suggest is to try and check which processes are consuming the most server resources as described here:

Also, as the speed of the image download could be caused by your local ISP network speed, I could suggest testing this out with another internet connection just to make sure that it is not a local problem.

Feel free to share the output of the htop command here so we could see the resource utilization and the processes that are associated with it.