jorkory
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] ESI Shortcode Not Rendering on Cached PageIt’s resolved! ✅ I was able to make ESI work using the short solution: creating a dedicated PHP template with do_shortcode(‘[ljo_events]’) and adding a route in functions.php. Now the ESI block renders correctly on cached pages.
Thanks for your support!
Forum: Plugins
In reply to: [LiteSpeed Cache] ESI Shortcode Not Rendering on Cached PageI cannot disable all plugins because it’s too complicated. But I used another method: I created a separate PHP file where I put do_shortcode(‘[esi ljo_events]’) and I added the route directly in functions.php. The ESI works this way, so it seems there is an incompatibility with the EtchWP theme.
Do you have any suggestions on how to make ESI work directly in the theme pages?
Forum: Plugins
In reply to: [LiteSpeed Cache] ESI Shortcode Not Rendering on Cached PageI checked the output_buffer.log as suggested. The HTML shows the same <include src=”/?lsesi=xxx”></include> before being sent to the browser.
Forum: Plugins
In reply to: [LiteSpeed Cache] ESI Shortcode Not Rendering on Cached PageYes, I literally see <include src=”/?lsesi=xxx”></include> in the HTML output.
Forum: Plugins
In reply to: [LiteSpeed Cache] ESI Shortcode Not Rendering on Cached PageI misspoke earlier.
When I access the ESI URL directly, e.g.:
https://mydomain.com/?lsesi=xxx
it correctly returns the shortcode block content.The issue occurs only on the cached page: the ESI shortcode in the HTML shows:
<!-- lscwp esi-shortcode -->
<include src="/?lsesi=xxx"></include>
<!-- lscwp esi-shortcode esi end -->— the block is not rendered in the cached page itself.
Last Report Number: DICKHXZS