We are using Litespeed for caching and we are using ESI (Edge Side Includes) blocks to exclude from cache some page shortcodes. You can find here who ESI on shortcodes works hidden link
We have changed our shortcode to support ESI. For example, the [test] should be changed to [esi test chache='private' ttl='10']
Everything works fine in views but in WordPress archives do not. We have created one WordPress Archive and one View with the same data and settings.
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
<br>
[wpv-post-title]
<br>
With ESI : [esi test_esi2 cache='private' ttl='10']
<br>
Without ESI : [test_esi2]
<br>
-----------------------
<br>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-layout-end]
The View returns correctly both shortcode but the WordPress Archive only the without ESI shortcode
Hello. Thank you for contacting the Toolset support.
The thing is that [esi] shortcode belongs to the third-party plugin as you shared and we do not have control over such shortcode as thats not a Toolset shortcode.
Would you mind to check with lightspeed support and check with them and if they point out that the issue is from Toolset, we are happy to assist further.
Can you please setup a test site and send me access details so I can pass that information to our Devs for further investigation.
Pleases share the archive link where we can see the shortcode you added is not working.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.