Question

Solution to a faster website?

I have a small droplet, 1gb of ram, 1 core.

I have read that the server is not really the cause to improve website loading/page scores. I would like to know some suggestions as to what I should do next in order to improve/optimise the website.

Some information about the website:

The server is a LEMP Stack with MariaDB instead of MySQL. It has Php7.0 There is only 1 website, that uses Wordpress.

This website has both a gallery section (Static Content), and uses Woocommerce (Dynamic Content).

All images and media used for building the website has been compressed/optimised already by using plugins such as Imagify etc.

The average load speed is around 6 seconds for a generic home page. This seems a bit slow, and I am looking at suggestions onto making this faster.

  1. Should I have a separate droplet for the database only? Currently Database size is ~270mb. If so, any tutorials on this?

  2. Should I have a separate droplet for the images? So more of a storage block.

  3. Should I have Varnish/Memcache etc installed? What do you suggest, any tutorials on this for Ubuntu 16.04 Nginx?

  4. Should I have another droplet for a load balancer? Any tutorials on this?

Thanks


Submit an answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there,

There is no need for a separate droplet for the database, but you can also check out our Managed Database product.

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-managed-database-ubuntu-18-04

You can offload the static content to another droplet but this is usually used due to a lack of disk space on the main droplet. You can check this tutorial

https://www.digitalocean.com/community/tutorials/how-to-speed-up-wordpress-asset-delivery-using-digitalocean-spaces-cdn

You can start with a cache plugin before installing a cache on the droplet itself. If you find the performance not matching your needs you can configure caching on server level.

We have a tutorial that covers Load Balancing WordPress with HAProxy that you can check here

https://www.digitalocean.com/community/tutorial_series/load-balancing-wordpress-with-haproxy

I believe that WPRocket is a great choice in case you are looking for a paid solution. I have a few websites that use that plugin and I am very happy with the page speed.

As a free solution, I tend to use the WP Super Cache plugin. It also offers some great improvements and reduces the overall load on the server itself.

You can also check our tutorial on How to Optimize WordPress on Ubuntu 20.04

https://www.digitalocean.com/community/tutorials/how-to-optimize-wordpress-on-ubuntu-20-04

Hope that this helps!

Hello there,

I believe that WPRocket is a great choice in case you are looking for a paid solution. I have a few websites that use that plugin and I am very happy with the page speed.

As a free solution, I tend to use the WP Super Cache plugin. It also offers some great improvements and reduces the overall load on the server itself.

You can also check our tutorial on How to Optimize WordPress on Ubuntu 20.04

https://www.digitalocean.com/community/tutorials/how-to-optimize-wordpress-on-ubuntu-20-04

Hope that this helps!

There’s plenty, fastcgi and so on you can probably google for others if wanted. https://www.metachris.com/2016/02/how-to-optimize-wordpress-performance-with-nginx-and-wp-super-cache/ might help.