Gerir os cookies que são utilizados para publicidade, como a personalização de anúncios, o remarketing e a análise de desempenho de anúncios.
2.14.9.9. Configure Redis in PrestaShop
On shared hosting, Redis is available as an extra service; on business hosting, it is included in the plan price. Redis is also available as a standalone service.
There are various modules available for integrating Redis with PrestaShop, such as Redis Cache or Redis Cache | Boost website performance (paid). The interface and configuration process may vary slightly, but the general principle is the same.
- Download and install the module you need (see above).
- Configure the module in the site admin panel:
- In the "Advanced Parameters → Performance" section, in the "Caching" section:
- Enable "Use cache".
- Select "Redis".
- Click "Add server", specify the connection settings for Redis, and save the changes:
- "Scheme" —
unix. - "Host" — the socket address from the "Redis" section in the form
/home/example/.system/redis.sock(withoutunix://at the beginning, instead ofexample— hosting account name). - "Port" —
0.
- In the "Modules → Module Manager" section in the settings of the installed module, specify the connection settings for Redis and save the changes:
- "Server" — the socket address from the "Redis" section in the form
/home/example/.system/redis.sock(withoutunix://at the beginning, instead ofexample— hosting account name). - "Port" —
0. - Leave the default values in the other fields.
- In the "Advanced Parameters → Performance" section, in the "Caching" section:
- Enable "Use cache".
- Select "CachePhpRedis".
- Save the changes.
- Check the site operation.