Customizing LiteSpeed Cache for PrestaShop Settings for EU Cookie Law Module

The PrestaShop Module Prestashop European Union Cookie Law can work with LSCache, but you will need to adjust a few settings in the LSCache Module.

Navigate to the Customization tab of the LiteSpeed Cache screen. Click Add New ESI Block at the top of the page.

Adjust the following settings:

  • Module = uecookie (select from dropdown)
  • Is Private = Yes
  • TTL = 1800 seconds
  • Cache Tag = uecookie
  • Hooked Methods = hookFooter if the cookie notice displays in the footer, and hookHeader if it displays in the header.
  • As Variable = Yes
  • Ignore if Empty = No
  • Only Cache When Empty = Yes
  • Admin
  • Last modified: 2018/10/09 20:44
  • by Lisa Clarke