Woocommerce CDN & cache advice? Spaces CDN for LON1 droplet UK only target audience? Or no CDN just cache?

Hi DigitalOcean Community,

I’ve gone down bit of a rabbit hole when researching CDNs and cache options…

I am trying to improve the loading time on Woocoommerce website on a LON1 region droplet (WordPress 1-Click). The target audience is UK only.

Should the Spaces CDN cache be used or not?

There isn’t a Spaces datacenter in London. The closest Spaces region is Amsterdam which I assume shouldn’t be used for a UK website as it would make it slower to load for the UK audience?

The website has about 20gb product images.

Alternatively would this work better? Can I create another LON1 droplet and make that a CDN?

Or would it be better to use a the WP Offload Media plugin and try Amazon S3 or Google Cloud Storage? link:

The Google Cloud Storage geo redundant option sounds like the best of all I think?

I found a Google Chrome developer report on image optimization tools and for some reason Google doesn’t recommend their own Google Cloud Storage option? link:

Also, I found a Cloudways article and it suggests a CDN is not recommended when the website targets users from the same location -

However, using a CDN is not recommended if you are running a site that only targets users from the same location as your web hosting. It can cause a bad user experience as users might face delays due to unnecessary interference from extra connections between the user and hosting.


Rocket CDN says the same thing -

In most cases, if your site is already hosted on a server that is in the same geographic region as your visitors, you do not need a CDN.


That being said, should I not use a CDN for this website?

Also, another option I read about was “Hiding Spaces behind Cloudflare”? source:

Would it be beneficial to use Spaces with Cloudflare? Wouldn’t that make it even slower by adding another layer?

What if Cloudflare was to be used and not Spaces? For example this WP plugin - link:

From what I can tell this Cloudflare plugin isn’t really a CDN, its a Proxy/CDN as it doesn’t host the files. Would there be any speed gains if used?

Or would the Cloudflare images need to be used? Is this the equivalent of Spaces? link:

Also I have some questions about caching!

What’s the best cache strategy on a dynamic Woocommerce website?

For example, when a product has sold it still shows in stock when it should be out of stock.

An untested solution I’ve found is WP Rocket offers this plugin Clean Post Cache after WooCommerce Order.

Both WP Rocket and W3 Total Cache recommend installing Memcached and Redis. The WordPress 1-Click droplet didn’t have these installed. Should I install them or should I move the website to a new droplet like the OpenLiteSpeed WordPress 1-Click droplet? This has Memcached & Redis already installed Link:

My biggest concern here is will the transition be smooth? Changing from Apache to OpenLiteSpeed? MySQL server to MariaDB?

I am tempted to try the LiteSpeed WP plugin which seems to handle the Woocommerce cache issues with "smart purge” technology, quote:

If your stock is managed by WooCommerce, then product pages can be purged from the cache whenever the stock changes (whether this is at checkout or by an administrator at the wp-admin Dashboard)… Additionally, with our “smart purge” technology, when a product page is purged (for whatever reason), the related category and tag pages can also be purged from the cache, this way you never have outdated product information showing anywhere on your site.


To summarise, what I am thinking of trying:

  • On the current droplet WP Offload Media with Amazon S3 or Google Cloud Storage CDN
  • On the current droplet try WP Rocket
  • Try OpenLiteSpeed with LiteSpeed WP plugin

If anyone can recommend anything I missed or advice on the best approach I would appreciate it.

Thank you in advance to anyone that can help.

Thank you

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.

Site Moderator
Site Moderator badge
May 7, 2023


To summarize, based on your specific needs, here’s what I recommend:

  1. Use Cloudflare for its CDN and optimization features. You can either use it together with Spaces or without it, depending on your preference.
  2. Use Redis on your current droplet for caching improvements. In this case, I’ll even recommend using DigitalOcean’s Managed Redis Database I’ll recommend checking the official documentation as it will always be with the newest and updated information:

or just the How to Create docs:

  1. Try the WP Rocket plugin for additional caching and performance optimizations.
  2. If you want to try the OpenLiteSpeed droplet, make sure to create backups and test the new setup before going live.

I woudln’t use CDN in that case if the website speed is the only purpose. Amsterdam and UK is not that long distance. I host all my websites in EU because we have there better, faster and cheaper hostings and then use CDN if I target US people.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel