Memcached is a free and open source memory object caching system that helps large web applications in reducing execution and access time to the database. It is mainly used to speed up dynamic database-driven web apps by caching frequently accessed data, such as results of API calls, database calls, etc.
The process of setting up Memcached on PrestaShop is easy and can be done by following these simple steps:
- Install Memcached on Server
- Verify That Memcached Is Running on the Server
- Configure PrestaShop With Memcached
Install Memcached on Server
First step is to install Memcached on your server. The good news is that Cloudways has Memcached installed on all the servers by default. This means that you don’t have to go through all the technical complexities of installing the service manually.
Verify That Memcached Is Running on the Server
To verify whether Memcached is running on your server, log in to your Cloudways account and go to your Server Management area. In the left panel, click the Manage Services tab. Here, you will be presented with a list of services running on your server. Locate Memcached and confirm that the status is set to running.
Configure PrestaShop With Memcached
Now that you’ve verified the status of Memcached, you can move on PrestaShop. Just like with every other extended functionality available for PrestaShop, Memcached too has a dedicated integration.
Login to your PrestaShop as the Administrator.
From the left sidebar, click Advanced Parameters, and navigate to Performance.
Scroll down the page to the CACHING section. Change the status of Use cache to YES.
Select Memcached via PHP::Memcached from the options available for Caching System.
Now, click the Add Server button. In the IP Address text box type 127.0.0.1 and set Port as 11211.
Click the Test Server button to test this information. If it shows red, it means there’s some kind of problem! Otherwise, it will show green which means everything is fine.
Finally, hit the Add Server button to add the configurations and then save these settings by clicking the Save button.
That’s it – Congratulations, you have successfully configured Memcached with PrestaShop.
As you can see, Cloudways makes it incredibly easy to take advantage of Memcached for your PrestaShop powered ecommerce store. You do not need any technical commands or server administration to set it up. If you need any further help on how to configure PrestaShop with Memcached, leave a comment and I will get back to you ASAP!
If you wish to secure your Prestashop store, see this blog post about SSL installation on PrestaShop powered ecommerce stores.
Start Growing with Cloudways Today.
Our Clients Love us because we never compromise on these