Report this

What is the reason for this report?

Solution to a faster website?

Posted on September 15, 2017

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



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!

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.

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.

If you’re running wordpress with many plugins you’ll always have a sort of slow website unless you do some serious caching but it can affect you depending on what you’re planning to provide to people. Running a database on the same server that has a webserver makes no difference in times. There’s plugins on wordpress for caching but it might be better to run a cache mod with nginx instead. Load Balancer isn’t really needed unless you have a very large audience using your site at one time and potentially one might crash so you have a backup server.

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!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.