prestashop 'Enable Litespeed ESI is disabled!!

#1
Hello i can not activate esi on prestashop
the server has litespeed enterprice but this option on last update is disabled by default!
the screenshot has been attached.
the response header:

cache-control no-store, no-cache, must-revalidate
content-encoding gzip
content-length 60968
content-type text/html; charset=utf-8
date Mon, 17 Feb 2025 15:37:09 GMT
expires Thu, 19 Nov 1981 08:52:00 GMT
pragma no-cache
vary Accept-Encoding,User-Agent
x-litespeed-cache hit
 

Attachments

#2
I had the same issue earlier this month.

Contact the host and they will enable ESI for you. In the same time you can ask them to enable crawler also so you can warm your cache.

My hosting support told me there is not way this can be done on account level and should be done for every domain.
 

serpent_driver

Well-Known Member
#3
Contact the host and they will enable ESI for you. In the same time you can ask them to enable crawler also so you can warm your cache.

My hosting support told me there is not way this can be done on account level and should be done for every domain.

This recommendation depends only on certain hosting providers. Most hosts have enabled ESI by default.
 
#11
It depends on if you need ESI for PS. ESI is (was in the past) a good idea, but ESI causes other issues you don't want. The best solution would be using PS without ESI and using client side scripting instead, but for this better solution PrestaShop has to be changed to make it more page cache friendly.

Sorry, there is no solution that solves your problem and the problem of all other users that use PS with LiteSpeed LScache.
 
Top