Question

how can i speed up my website with digitalocean?

Posted May 27, 2020 157 views
WordPress

I have some issues with my website. I could not find the reason of latency on mobile. My website is really slow on mobile. Do you have any suggestion?

edited by MattIPv4

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.

×
1 answer

Hi @originofmale,

There could be a couple of reasons. Firstly your server could be overloaded and might need to be upgraded or optimized. Let’s review that before going to your website and what you can do about it.

SSH to your droplet like so

ssh root@YourDropletIP

Once in there, see if you are having load. You can see that by using the htop command or sar -q and sar -r

The above commands will show you how if you are experiencing load at the moment or in any other past event. If that looks okay, you’ll need to turn your attention to installing Opcache, PHP-FPM, Redis and services like that which help you optimize and speed the performance of the website on the server.

Now, let’s begin with the website. If you are using a CMS like WordPress, Magento, Opencart, or something else, you’ll be able to install some plugins to help you optimize your website. One of the first plugins you’ll need is the a caching plugin. If you are on a WordPress website, I’ll recommend using W3-Total-Cache, it provides good caching capabilities and additionally, you can minify your css and js files. The second plugin you’ll need would be for optimizing images, I can’t remember the name of the plugin I’ve used in the past however if searched you should be able to easily find it.

Having said that, I’ll recommend using Google Page Insights, it’s a tool which scans your website and gives you suggestions on how to fix/optimize it. You can check out this free online tool here.

Regards,
KDSys

Submit an Answer