1. Home
  2. Performance
  3. How to Enable Memcached on PrestaShop with LiteSpeed Cache
  1. Home
  2. CMS/Applications
  3. How to Enable Memcached on PrestaShop with LiteSpeed Cache

How to Enable Memcached on PrestaShop with LiteSpeed Cache

In this article, we will look at how to enable Memcached on PrestaShop with LiteSpeed Cache for PrestaShop.

You have to pay for the plugin required for Redis. In this article, we will cover only Memcached.

Note: The glossary contains explanations on a wide range of subjects and can be consulted to clarify certain terms.

Prerequisites

Enter the following address in your web browser: https://mg.n0c.com/en/.

Procedure

The step-by-step procedure to follow is:

  1. Activate Memcached as explained in the article How to use Memcached.
  2. Take note of the path to the Linux socket to establish the link between Memcached and your web application (path /home/USERN0C/.memcached/memcached.sock):
  1. Login to your PrestaShop Dashboard and go in the left menu to Configure -> Advanced Parameters -> Performance :
  1. At the bottom of the page, under Caching, activate the cache by setting Use cache to Yes and click on the CacheMemcached radio button:
  1. Click on the + Add server button:
  1. Provide the requested information:
  • In the IP Address field, enter the path to the Linux socket you noted in step 2.
  • In the Port field, enter 0.
  • In the Weight field, enter 0 as well.
  1. Click on the Test Server button and, if all tests are successful, click on the Add Server button:
Updated on November 28, 2024

Related Articles