ESI error




Wordpress LScache Plugin: ESI error

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, I have activated the ESI for the widgets and it is working OK. However, I do not want to cache the logged-in users, so I tuned this OFF. But, the logged in users are cached. If I turn OFF ESI, the logged in users are not cached. So, question: ? is it a normal behavior that if ESI it is on the logged-in users are cached (regardless if the fact that the option it is OFF). Hi @dallass, you are right that currently if you turn ON ESI with Cache Logged-in Users OFF, you still get cache HIT. Im checking on this issue and will update you later. Hi Stanley, The problem goes a bit further. I have a multisite: 1. main site, is getting 80% traffic from mobiles 2. second site, is getting 80% traffic from mobile 3. third site ? I do not want cache. As I get most of the traffic of the mobile, I have to enable the mobile cache. To enable mobile cache, I have to enabled LiteSpeed, network wide. On the site 1 and 2 it is OK. But, the 3rd site is also getting cache, although Lite Speed it is set on Disable. Even if I exclude the roles, it is still being getting cached. If I disable the plugin network wide, and enable it site by site, I do not get the mobile cache. Is this also normal ? Please check on your Network Admin > LiteSpeed Cache setting, you can set Network Enable Cache, Use Primary Site Configuration to OFF for separating the cache setting on each site. Use Primary Site Configuration it is OFF and it is still caching. But, it is still caching the subsites (I use subdomains). Also, the ESI it is still a problem. I dont know if this 2 are connected. Good morning, Sorry to insist, but this is really a big problem for me. Can I please have a solution for both problem: ? ESI error ? Caching all the sites in the network as the primary site. Hi @dallass, sorry for the late reply that Im on last week. We are working on the issue now and will get you back soon. Hi @dallass sorry for the delay, please try the following solution: 1) ESI error ? After turning ON ESI, Cache Logged-in Users is no-longer useful. Please check the roles you wish to exclude from cache on Settings > Excludes > Do Not Cache Roles instead. 2) Caching all the sites in the network as the primary site. ? Could you try these settings: Network Network Enable Cache [ON] Use Primary Site Configuration [OFF] Cache Mobile [ON] Subsite with cache Enable LiteSpeed Cache [Enable] Subsite without cache Enable LiteSpeed Cache [Disable] This should be able to separate the mobile cache when the cache is activated. Hi Stanley, It does not make sense to discuss about ESI when the basic cache does not work. So, regarding point 2, I have testde this again today (although I did it also before) and it is not working. It is caching everything. So, I need: ? mobile cache ? main site cached ? subsite 1 cached ? subsite 2 not cached. This is quite basic I think, but it is not working. In other words, the plugin doesnt work for multisite, if this is not possible. Could you please join our Slack channel and find me(Stanley Cheung at Litespeed) or submit a ticket here for helping us to reproduce the bug, thanks.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference