Enable Memcached on your WordPress site with LWS Optimize

Procédure

What is Memcached?

Memcached is a caching system mainly used on sites that use databases (in particular CMS such as WordPress): an object cache.

This cache stores the results of database queries made on the page in RAM. When the page is requested again, Memcached will be able to use the data it has stored rather than restarting all the requests.
This significantly improves site performance by reducing the time needed to retrieve data.

WordPress already offers tools for object caching with its "WP_Object_Cache" class, but the cache is not kept for later use or on other pages: there are extensions that make this object cache persistent, using Memcached in particular.
Advantages of Memcached
The Memcached object cache is very lightweight and is not limited in terms of the data it can process. It can be used to cache a whole host of different data on any site you can think of.

It's also very easy to set up and requires no special knowledge to use: install a Memcached-compatible extension on your WordPress site, activate it and you're done!

Using Memcached on LWS Optimize

Activating Memcached on your site using LWS Optimize, an extension made by LWS, is very simple and accessible to everyone: just go to the extension settings and then to the "Caching" tab:

Enable Memcached on your WordPress site with LWS OptimizeEnable Memcached on your WordPress site with LWS Optimize

Here, simply tick the 'Memcached' option to activate caching on your site.

Enable Memcached on your WordPress site with LWS Optimize

If you receive an error message, make sure that Memcached is activated on your hosting and that it is working, then try again.

Enable Memcached on your WordPress site with LWS Optimize

In the case of LWS hosting, follow this documentation to activate the option on your LWS Panel.
To check that the option is activated, you can go to your site files, in the "wp-content" folder, and check that the "object-cache.php" file is there.

Enable Memcached on your WordPress site with LWS Optimize


Conclusion

You now know how to: optimise your website's performance using Memcached, an effective object cache system that's easy to set up. 🚀 You've discovered the benefits of this solution, including its lightweight nature and its ability to process a variety of data to improve your site's speed. 🌐 Plus, you've learned how to enable Memcached in a few simple steps with the LWS Optimize extension, making your WordPress experience even smoother and more enjoyable. ✨

Many thanks for reading! If you have any questions or would like to share your experience with Memcached, please feel free to leave a comment. Your feedback is invaluable to us so that we can continue to offer you quality content. 📝

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problÚme technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

2mn reading

How do I install the LWS affiliate plugin on WordPress?

3mn reading

How do I install the LWS SMS plugin for WooCommerce on WordPress?

0mn reading

How do I clean my WordPress site with LWS Cleaner?

0mn reading

How can LWS tools make managing WordPress easier?


Ask the LWS team and its community a question