faradei
Forum Replies Created
-
hello? @litetim
@litetim yes as admin.
TCUSEXWMHi @litetim ,
Thanks for the reply.
I understand that OpenLiteSpeed itself does not support ESI at the server level. However, my setup uses QUIC.cloud CDN, and according to the LiteSpeed documentation, ESI is supported via QUIC.cloud CDN as well as LiteSpeed Enterprise / LiteSpeed Web ADC.
So in this case I’m not expecting OpenLiteSpeed itself to process ESI. The ESI functionality is enabled through LiteSpeed Cache + QUIC.cloud.
The issue I’m reporting appears to be in the LiteSpeed Cache for WordPress plugin logic: when the administrator role is excluded in Page Optimization -> Tuning -> Role Excludes, the original comment_form() output remains wrapped in the “LiteSpeed To Be Removed” block, while the ESI-rendered comment form is also inserted, causing duplication.
If I remove administrator from Role Excludes and purge cache, the cleanup works and the duplicate form disappears.
Could you please check whether the ESI cleanup via GUI::finalize() / _clean_wrapper() should still run even when Page Optimization is disabled for the current role?
Thanks!
Hi @litetim,
Yes, clearing the cache does fix the issue, but only temporarily.
As soon as the cache is rebuilt and ESI kicks in again, the problem returns. LiteSpeed will once again replace the wp_rest nonce with the HTML comment (
) inside the JS object.Forum: Plugins
In reply to: [GTM Kit - Google Tag Manager & GA4 integration] Issue with add to cart eventdone