Wordpress LScache Plugin: ESI and Customizer
Last Updated on: Wed, 15 Apr 2026 00:00:02 With ESI enabled, editing widgets in the Customizer fails with the generic error: An error has occurred. Please reload the page and try again. Disabling ESI allows the widgets to refresh via Ajax normally. I see this on 2 different sites, both of which use the Genesis Framework. Here is the content of debug.log: 04/29/20 13:44:49.637 [24.23.13.88:37350 1 OUi] ??POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php 04/29/20 13:44:49.637 [24.23.13.88:37350 1 OUi] Query String: 04/29/20 13:44:49.637 [24.23.13.88:37350 1 OUi] HTTP_REFERER: https://staging.area12.org/wp-admin/customize.php?return=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26paged%3D1%26s 04/29/20 13:44:49.637 [24.23.13.88:37350 1 OUi] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 role_exclude_cache:1 04/29/20 13:44:49.882 [24.23.13.88:37350 1 OUi] [Ctrl] X Cache_control -> stale 04/29/20 13:44:50.013 [24.23.13.88:37350 1 OUi] [Ctrl] X Cache_control -> no Cache ( Admin page ) 04/29/20 13:44:50.018 [24.23.13.88:37350 1 OUi] [Ctrl] not cacheable before ctrl finalize 04/29/20 13:44:50.018 [24.23.13.88:37350 1 OUi] [Router] get_uid: 1 04/29/20 13:44:50.018 [24.23.13.88:37350 1 OUi] [Router] get_role: administrator 04/29/20 13:44:50.019 [24.23.13.88:37350 1 OUi] [Core] Silence Comment due to REST/AJAX 04/29/20 13:44:50.019 [24.23.13.88:37350 1 OUi] X-LiteSpeed-Cache-Control: no-cache 04/29/20 13:44:50.019 [24.23.13.88:37350 1 OUi] [Optm] bypass: Not frontend HTML type 04/29/20 13:44:50.019 [24.23.13.88:37350 1 OUi] End response ??????????????????????????? 04/29/20 13:44:51.973 [24.23.13.88:37350 1 w4g] ??GET HTTP/1.1 (HTTPS) /wp-admin/customize.php 04/29/20 13:44:51.973 [24.23.13.88:37350 1 w4g] Query String: return=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26paged%3D1%26s 04/29/20 13:44:51.973 [24.23.13.88:37350 1 w4g] HTTP_REFERER: https://staging.area12.org/wp-admin/plugins.php?plugin_status=all&paged=1&s 04/29/20 13:44:51.973 [24.23.13.88:37350 1 w4g] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 role_exclude_cache:1 04/29/20 13:44:52.158 [24.23.13.88:37350 1 w4g] [Ctrl] X Cache_control -> stale 04/29/20 13:44:52.300 [24.23.13.88:37350 1 w4g] [Ctrl] X Cache_control -> no Cache ( Admin page ) 04/29/20 13:44:52.307 [24.23.13.88:37350 1 w4g] [Purge] added W. 04/29/20 13:44:52.307 [24.23.13.88:37350 1 w4g] X-LiteSpeed-Purge: public,stale,e25_W. 04/29/20 13:44:52.307 [24.23.13.88:37350 1 w4g] [Purge] added [private] W. 04/29/20 13:44:52.390 [24.23.13.88:37350 1 w4g] [Ctrl] X Cache_control init on 04/29/20 13:44:52.390 [24.23.13.88:37350 1 w4g] [Vary] Rest API init disabled vary change 04/29/20 13:44:52.453 [24.23.13.88:37350 1 w4g] [Ctrl] not cacheable before ctrl finalize 04/29/20 13:44:52.454 [24.23.13.88:37350 1 w4g] [Router] get_uid: 1 04/29/20 13:44:52.454 [24.23.13.88:37350 1 w4g] [Router] get_role: administrator 04/29/20 13:44:52.454 [24.23.13.88:37350 1 w4g] X-LiteSpeed-Cache-Control: no-cache 04/29/20 13:44:52.456 [24.23.13.88:37350 1 w4g] X-LiteSpeed-Purge: public,stale,e25_W. private,e25_W. 04/29/20 13:44:52.456 [24.23.13.88:37350 1 w4g] [Optm] bypass: Not frontend HTML type 04/29/20 13:44:52.457 [24.23.13.88:37350 1 w4g] End response ??????????????????????????? 04/29/20 13:44:54.951 [24.23.13.88:37350 1 tZt] ??GET HTTP/1.1 (HTTPS) / 04/29/20 13:44:54.951 [24.23.13.88:37350 1 tZt] Query String: customize_changeset_uuid=dcb9fc67-cc63-4bf3-866b-8c3e40eeac4f&customize_theme=area12&customize_messenger_channel=preview-0 04/29/20 13:44:54.951 [24.23.13.88:37350 1 tZt] HTTP_REFERER: https://staging.area12.org/wp-admin/customize.php?return=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26paged%3D1%26s 04/29/20 13:44:54.951 [24.23.13.88:37350 1 tZt] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 role_exclude_cache:1 04/29/20 13:44:54.951 [24.23.13.88:37350 1 tZt] LSCACHE_VARY_VALUE: +webp 04/29/20 13:44:54.953 [24.23.13.88:37350 1 tZt] [ESI] Overwrite wp_create_nonce() 04/29/20 13:44:55.132 [24.23.13.88:37350 1 tZt] [Ctrl] X Cache_control -> stale 04/29/20 13:44:55.181 [24.23.13.88:37350 1 tZt] [Router] get_uid: 1 04/29/20 13:44:55.182 [24.23.13.88:37350 1 tZt] [Router] get_role: administrator 04/29/20 13:44:55.182 [24.23.13.88:37350 1 tZt] [Core] bypass_optm: hit Role Excludes setting: administrator 04/29/20 13:44:55.230 [24.23.13.88:37350 1 tZt] [Ctrl] X Cache_control init on 04/29/20 13:44:55.337 [24.23.13.88:37350 1 tZt] ESI 0 WP_Widget_Text: set off 04/29/20 13:44:55.344 [24.23.13.88:37350 1 tZt] ESI 0 Ai1ec_View_Admin_Widget: set off 04/29/20 13:44:55.496 [24.23.13.88:37350 1 tZt] [ESI] [BLock_ID] widget [wrapper] widget Axl_Testimonials_Widget_Slider_Widget [Control] no-vary 04/29/20 13:44:55.498 [24.23.13.88:37350 1 tZt] [ESI] [BLock_ID] widget [wrapper] widget Axl_Testimonials_Widget_Slider_Widget [Control] no-vary 04/29/20 13:44:55.501 [24.23.13.88:37350 1 tZt] [Core] Footer hook called 04/29/20 13:44:55.680 [24.23.13.88:37350 1 tZt] [Core] Footer check passed 04/29/20 13:44:55.680 [24.23.13.88:37350 1 tZt] [Ctrl] X Cache_control off ? Role Excludes setting administrator 04/29/20 13:44:55.680 [24.23.13.88:37350 1 tZt] [Ctrl] X Cache_control -> no Cache 04/29/20 13:44:55.681 [24.23.13.88:37350 1 tZt] X-LiteSpeed-Cache-Control: no-cache,esi=on 04/29/20 13:44:55.681 [24.23.13.88:37350 1 tZt] [Core] Footer check passed 04/29/20 13:44:55.682 [24.23.13.88:37350 1 tZt] End response ??????????????????????????? 04/29/20 13:44:55.733 [24.23.13.88:37350 1 ObR] ??GET HTTP/1.1 (HTTPS) / 04/29/20 13:44:55.733 [24.23.13.88:37350 1 ObR] 04/29/20 13:44:55.733 [24.23.13.88:37350 1 ObR] HTTP_REFERER: https://staging.area12.org/wp-admin/customize.php?return=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26paged%3D1%26s 04/29/20 13:44:55.733 [24.23.13.88:37350 1 ObR] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 role_exclude_cache:1 04/29/20 13:44:55.733 [24.23.13.88:37350 1 ObR] LSCACHE_VARY_VALUE: +webp 04/29/20 13:44:55.733 [24.23.13.88:37350 1 ObR] ESI_CONTENT_TYPE: text/html charset=UTF-8 04/29/20 13:44:55.735 [24.23.13.88:37350 1 ObR] [ESI] Overwrite wp_create_nonce() 04/29/20 13:44:55.886 [24.23.13.88:37350 1 ObR] [ESI] ESI_REFERER: /?customize_changeset_uuid=dcb9fc67-cc63-4bf3-866b-8c3e40eeac4f&customize_theme=area12&customize_messenger_channel=preview-0 04/29/20 13:44:55.886 [24.23.13.88:37350 1 ObR] [Ctrl] X Cache_control -> stale 04/29/20 13:44:55.930 [24.23.13.88:37350 1 ObR] [Router] get_uid: 1 04/29/20 13:44:55.931 [24.23.13.88:37350 1 ObR] [Router] get_role: administrator 04/29/20 13:44:55.931 [24.23.13.88:37350 1 ObR] [Core] bypass_optm: hit Role Excludes setting: administrator 04/29/20 13:44:55.940 [24.23.13.88:37350 1 ObR] [Ctrl] X Cache_control init on 04/29/20 13:44:55.949 [24.23.13.88:37350 1 ObR] [ESI] calling template 04/29/20 13:44:55.950 [24.23.13.88:37350 1 ObR] [ESI] Name: Axl_Testimonials_Widget_Slider_Widget ?? [ID] widget 04/29/20 13:44:55.950 [24.23.13.88:37350 1 ObR] [Ctrl] X Cache_control -> no-vary 04/29/20 13:44:55.950 [24.23.13.88:37350 1 ObR] ESI widget render: name Axl_Testimonials_Widget_Slider_Widget, id testimonials_widget-2, ttl 0 04/29/20 13:44:55.950 [24.23.13.88:37350 1 ObR] [Ctrl] X Cache_control -> no Cache ( ESI Widget time to live set to 0 ) 04/29/20 13:44:55.963 [24.23.13.88:37350 1 ObR] [Ctrl] not cacheable before ctrl finalize 04/29/20 13:44:55.964 [24.23.13.88:37350 1 ObR] X-LiteSpeed-Cache-Control: no-cache 04/29/20 13:44:55.964 [24.23.13.88:37350 1 ObR] [Core] ESI Start 04/29/20 13:44:55.964 [24.23.13.88:37350 1 ObR] stale 04/29/20 13:44:56.211 [24.23.13.88:37350 1 t7O] [Router] get_uid: 1 04/29/20 13:44:56.212 [24.23.13.88:37350 1 t7O] [Router] get_role: administrator 04/29/20 13:44:56.212 [24.23.13.88:37350 1 t7O] [Core] bypass_optm: hit Role Excludes setting: administrator 04/29/20 13:44:56.220 [24.23.13.88:37350 1 t7O] [Ctrl] X Cache_control init on 04/29/20 13:44:56.230 [24.23.13.88:37350 1 t7O] [ESI] calling template 04/29/20 13:44:56.230 [24.23.13.88:37350 1 t7O] [ESI] Name: Axl_Testimonials_Widget_Slider_Widget ?? [ID] widget 04/29/20 13:44:56.230 [24.23.13.88:37350 1 t7O] [Ctrl] X Cache_control -> no-vary 04/29/20 13:44:56.231 [24.23.13.88:37350 1 t7O] ESI widget render: name Axl_Testimonials_Widget_Slider_Widget, id testimonials_widget-3, ttl 0 04/29/20 13:44:56.231 [24.23.13.88:37350 1 t7O] [Ctrl] X Cache_control -> no Cache ( ESI Widget time to live set to 0 ) 04/29/20 13:44:56.241 [24.23.13.88:37350 1 t7O] [Ctrl] not cacheable before ctrl finalize 04/29/20 13:44:56.242 [24.23.13.88:37350 1 t7O] X-LiteSpeed-Cache-Control: no-cache 04/29/20 13:44:56.242 [24.23.13.88:37350 1 t7O] [Core] ESI Start 04/29/20 13:44:56.242 [24.23.13.88:37350 1 t7O] stale 04/29/20 13:44:56.660 [24.23.13.88:37350 1 Cpt] [Router] get_uid: 1 04/29/20 13:44:56.661 [24.23.13.88:37350 1 Cpt] [Router] get_role: administrator 04/29/20 13:44:56.661 [24.23.13.88:37350 1 Cpt] [Core] bypass_optm: hit Role Excludes setting: administrator 04/29/20 13:44:56.678 [24.23.13.88:37350 1 Cpt] [Ctrl] not cacheable before ctrl finalize 04/29/20 13:44:56.678 [24.23.13.88:37350 1 Cpt] X-LiteSpeed-Cache-Control: no-cache 04/29/20 13:44:56.678 [24.23.13.88:37350 1 Cpt] End response ??????????????????????????? 04/29/20 13:45:05.808 [24.23.13.88:40148 1 XHK] ??POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php 04/29/20 13:45:05.808 [24.23.13.88:40148 1 XHK] Query String: 04/29/20 13:45:05.808 [24.23.13.88:40148 1 XHK] HTTP_REFERER: https://staging.area12.org/wp-admin/customize.php?return=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26paged%3D1%26s 04/29/20 13:45:05.808 [24.23.13.88:40148 1 XHK] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 role_exclude_cache:1 04/29/20 13:45:05.994 [24.23.13.88:40148 1 XHK] [Ctrl] X Cache_control -> stale 04/29/20 13:45:06.116 [24.23.13.88:40148 1 XHK] [Ctrl] X Cache_control -> no Cache ( Admin page ) 04/29/20 13:45:06.123 [24.23.13.88:40148 1 XHK] [Purge] added * 04/29/20 13:45:06.124 [24.23.13.88:40148 1 XHK] X-LiteSpeed-Purge: public,stale,e25_ 04/29/20 13:45:06.124 [24.23.13.88:40148 1 XHK] [Purge] added MIN 04/29/20 13:45:06.124 [24.23.13.88:40148 1 XHK] X-LiteSpeed-Purge: public,stale,e25_ 04/29/20 13:45:06.124 [24.23.13.88:40148 1 XHK] [Purge] Failed to flush object cache due to object cache not enabled 04/29/20 13:45:06.125 [24.23.13.88:40148 1 XHK] [Purge] Reset opcode cache 04/29/20 13:45:06.125 [24.23.13.88:40148 1 XHK] [Purge] Purge all ( Wdiget saved ) 04/29/20 13:45:06.126 [24.23.13.88:40148 1 XHK] [Ctrl] not cacheable before ctrl finalize 04/29/20 13:45:06.126 [24.23.13.88:40148 1 XHK] [Router] get_uid: 1 04/29/20 13:45:06.126 [24.23.13.88:40148 1 XHK] [Router] get_role: administrator 04/29/20 13:45:06.127 [24.23.13.88:40148 1 XHK] [Core] Silence Comment due to REST/AJAX 04/29/20 13:45:06.127 [24.23.13.88:40148 1 XHK] X-LiteSpeed-Cache-Control: no-cache 04/29/20 13:45:06.128 [24.23.13.88:40148 1 XHK] X-LiteSpeed-Purge: public,stale,e25_ 04/29/20 13:45:06.128 [24.23.13.88:40148 1 XHK] [Optm] bypass: Not frontend HTML type 04/29/20 13:45:06.129 [24.23.13.88:40148 1 XHK] End response ??????????????????????????? 04/29/20 13:45:19.736 [24.23.13.88:40148 1 ojQ] ??GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 04/29/20 13:45:19.736 [24.23.13.88:40148 1 ojQ] Query String: page=litespeed-toolbox 04/29/20 13:45:19.736 [24.23.13.88:40148 1 ojQ] HTTP_REFERER: https://staging.area12.org/wp-admin/admin.php?page=litespeed-toolbox 04/29/20 13:45:19.736 [24.23.13.88:40148 1 ojQ] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 role_exclude_cache:1 04/29/20 13:45:20.419 [24.23.13.88:40148 1 ojQ] [Ctrl] X Cache_control -> stale 04/29/20 13:45:20.759 [24.23.13.88:40148 1 ojQ] [Ctrl] X Cache_control -> no Cache ( Admin page ) 04/29/20 13:45:20.775 [24.23.13.88:40148 1 ojQ] [Ctrl] X Cache_control init on 04/29/20 13:45:20.776 [24.23.13.88:40148 1 ojQ] [Vary] Rest API init disabled vary change ttttThe page I need help with: https://www.area12.org/wp-admin/customize.php },{ Hi, Could you please create a ticket here ? We will investigate it further. Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference