This is an old revision of the document!
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
- Is Private =
Yes
- TTL =
1800
seconds - Cache Tag =
uecookie
- Hooked Methods =
hookFooter
if the cookie notice displays in the footer, andhookHeader
if it displays in the header. - As Variable =
Yes
- Ignore if Empty =
No
- Only Cache When Empty =
Yes