If you notice, the WordPress Hosting server Atlanta (USA) service of WP Basic has now included a feature called LSMCD User Manager in cPanel. This means that from this point on, customers using our US hosting server will be able to enable the LiteSpeed Memcached feature to cache data in the database, making the website load faster and load better. Let’s take a few minutes to learn about LiteSpeed Memcached as well as how to use it.
What is LiteSpeed Memcached?
LiteSpeed Memcached (LSMCD) is a high-performance, distributed caching system with shared memory backed by files. It is an upgraded version of Memcached with outstanding advantages such as high availability, durability and distinctiveness.
- High availability means that if one or more of your servers crashes, you can still access and update your data as if the server were up and running.
- Data persistence means that whatever you put into the LSMCD remains in the LSMCD unless you notice that they’ve changed.
- Distinctness means each user has their data in the repository. By isolating each user’s data, you can improve data security and potentially charge users to access the data.
Put, LSMCD will help you cache queries to the database (database) of the website. The combination of LSMCD, LSCache and OpCode Cache will give your website a perfect performance with both fast loading speed and good load capacity.
If you need more information about LSMCD, you can refer here.
Use LiteSpeed Memcached
Currently, the LiteSpeed Memcached feature is only available on the Atlanta server (including WPH01, WPH08, WPH09 and WPH10) Hosting service. Servers in Singapore (including WPH03, WPH05 and WPH07) are not supported temporarily.
1. First, you need to access your hosting cPanel, find Select PHP Version and click on it.
In the PHP Extensions interface, you tick memcached to activate it.
Note: memcached is only available on PHP 7.4 and below, so you will not see this extension if you are using PHP 8.
2. Back to the main interface of cPanel, click on LSMCD User Manager.
In the User Management of LSMCD, you will see information about the LSMCD server. Please copy this information.
3. Access LiteSpeed Cache => Cache =>  Object in WordPress Dashboard and set as shown below. If you have not installed LiteSpeed Cache plugin before, remember to install and activate it.
- Object Cache: leave ON.
- Method: choose Memcached.
- Host: enter 127.0.0.1.
- Port: you enter 11211.
- Default Object Lifeime: is the default cache time (in seconds). You can leave it as 360 seconds as default or adjust as desired.
- Persistent Connection: Leave ON.
- Cache Wp-Admin: leave it ON.
- Store Transients: you leave ON.
The rest of the items you keep as default. Click the Save Changes button to save.
Check the Status item. If you see it as shown below, it means that the LiteSpeed Memcached installation is complete.
During use, if you want to clear the LiteSpeed Memcached cache, click Purge All – Object Cache on the Admin Bar.