CMS

Improve WordPress performance: use Memcached with W3 Total Cache

Published on October 27, 2017 by Team Infomaniak

With Infomaniak hosting, you are already benefiting from a powerful infrastructure that greatly enhances the performance of your WordPress sites. In this article, we’ll see how to further increase the performance of a high-traffic WordPress site by configuring W3 Total Cache with Memcached on a managed Cloud Server.

Memcached is a technology that uses your server RAM to cache frequently used MySQL files and queries. The result is a faster response time, a significant saving of resources on the server side and a site that is displayed much more quickly. It’s no coincidence that high-traffic sites such as YouTube, Reddit, Facebook and even Twitter also use this technology.

Now that you know what Memcached is and how it works, let’s take a look at how to use it with a WordPress site.

1) Installing Memcached on your server

Memcached will soon be installed by default on our managed Cloud Servers. In the meantime, you will still need to write to our support department and state the server and hosting on which you want to use Memcached.

Once Memcached is installed on your site’s hosting, you need to return to WordPress :-).

2) Installing and configuring W3 Total Cache

In this guide, we’re going to use the free extension W3 Total Cache to configure WordPress with Memcached. If you’re already using another extension such as WP Super Cache, you’ll need to deactivate this and install the W3 Cache in order to follow this guide.

Here are the steps to follow to configure W3 Total Cache with Memcached:

  1. Sign in to your WordPress console
  2. In the main menu, go to Performance then click on General Settings
  3. Activate Memcached for the following options:
    • Page Cache Method
    • Minify Cache method
    • Database cache method
    • Save the settings

3) Testing Memcached

All you have to do is follow this guide to test if Memcached is working correctly on your site.

Finally, don’t forget to enable browser caching, compress your images and update your WordPress site’s theme and extensions.

Find out more

Through our articles, we share a vision of digital technology based on sovereignty, privacy, independence, and environmental responsibility. Our goal: to make the European cloud clearer, more sustainable, and more useful for everyone who wants to take back control of their data.

No comments

Reply to

You agree to our terms of use.

No comments yet.

Did you like this post?

Your vote helps us to provide better content.

0

Add this blog to your favorite sources

Add on Google

Join our movement for a more ethical cloud

Subscribe to the Infomaniak newsletter to receive the latest articles, news, special offers and much more.

Your email address will be used exclusively to receive Infomaniak's monthly newsletter and new blog articles. We respect your data and you can unsubscribe at any time.