Wordpress LScache Plugin: ESI widget doesnt work in AMP
Last Updated on: Wed, 15 Apr 2026 00:00:02 If I use an esi enabled widget, it works on regular page. But it doesnt work on amp version of that page. In amp it become cached. See this: https://youtu.be/Op0tbLtU5dQ Ive sent a report. Report number: BXTEZEEN Report date: 12/05/2020 19:16:47 Please take a look. The page I need help with: https://test.weusewp.com/life/happiness-is-both-a-direction-a-choice-4/amp Hi, Please enable advance debug log , then access the AMP page, then post the log about it Best regards, 12/07/20 19:01:44.342 [103.67.159.80:4397 1 2Am] ??GET HTTP/1.1 (HTTPS) /life/happiness-is-both-a-direction-a-choice-4/amp/ 12/07/20 19:01:44.342 [103.67.159.80:4397 1 2Am] Query String: 12/07/20 19:01:44.342 [103.67.159.80:4397 1 2Am] User Agent: Mozilla/5.0 (Windows NT 6.1 Win64 x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 12/07/20 19:01:44.342 [103.67.159.80:4397 1 2Am] Accept: text/html,application/xhtml+xml,application/xml q=0.9,image/avif,image/webp,image/apng, / q=0.8,application/signed-exchange v=b3 q=0.9 12/07/20 19:01:44.342 [103.67.159.80:4397 1 2Am] Accept Encoding: gzip, deflate, br 12/07/20 19:01:44.342 [103.67.159.80:4397 1 2Am] X-LSCACHE: true 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] stats_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] subscribe_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #stats_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #subscribe_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #et-pb-contact-form-submit 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #et_frontend_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #et_ab_log_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #_wc_ppec_update_shipping_costs_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #_wc_ppec_start_checkout_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #_wc_ppec_generate_cart_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #switch_to_olduser_ 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #caldera_forms_front_. 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] cmreg_registration_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] role_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] wdap-call-nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] seopress_cookies_user_consent_nonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #SearchWP 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] swpmtxnonce 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] #wpDataTables 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Appended nonce action to nonce list [action] wdt. 12/07/20 19:01:44.343 [103.67.159.80:4397 1 2Am] [ESI] Overwrite wp_create_nonce() 12/07/20 19:01:44.347 [103.67.159.80:4397 1 2Am] [Ctrl] X Cache_control -> stale 12/07/20 19:01:44.352 [103.67.159.80:4397 1 2Am] [Router] get_role: 12/07/20 19:01:44.352 [103.67.159.80:4397 1 2Am] [Media] init 12/07/20 19:01:44.352 [103.67.159.80:4397 1 2Am] [LQIP] init 12/07/20 19:01:44.353 [103.67.159.80:4397 1 2Am] [CDN] init 12/07/20 19:01:44.353 [103.67.159.80:4397 1 2Am] Task init 12/07/20 19:01:44.353 [103.67.159.80:4397 1 2Am] [Router] LSCWP_CTRL bypassed empty 12/07/20 19:01:44.353 [103.67.159.80:4397 1 2Am] [GUI] init 12/07/20 19:01:44.357 [103.67.159.80:4397 1 2Am] [Ctrl] X Cache_control init on 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] [Core] CHK html bypass: miss footer const 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] [Router] get_role: 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] [Router] get_role: 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] [Vary] role id: failed, guest 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] [Router] get_role: 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] [Router] get_role: 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] [Vary] no custimzed vary 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] X-LiteSpeed-Cache-Control: public,max-age=604800 12/07/20 19:01:44.668 [103.67.159.80:4397 1 2Am] X-LiteSpeed-Tag: 683_HTTP.200,683_post,683_URL.28efcb0cfb3ec22a2e9c80b6d0a59f0f,683_Po.4730,683_ 12/07/20 19:01:44.673 [103.67.159.80:4397 1 2Am] [Core] CHK html bypass: miss footer const 12/07/20 19:01:44.673 [103.67.159.80:4397 1 2Am] [Media] bypass: Not frontend HTML type 12/07/20 19:01:44.673 [103.67.159.80:4397 1 2Am] GUI bypassed by no counter 12/07/20 19:01:44.673 [103.67.159.80:4397 1 2Am] [Optm] bypass: Not frontend HTML type 12/07/20 19:01:44.673 [103.67.159.80:4397 1 2Am] CDN bypass 12/07/20 19:01:44.673 [103.67.159.80:4397 1 2Am] End response Ive sent a report with dologin password link. Report number: KQFKZLGK Report date: 12/07/2020 13:08:04 Hi, if you only want to get view counter , I would suggest to try this view counter , it works out of box https://wordpress.org/plugins/remoji/ Best regards, I tried this plugin. It shows 0 all the time. I guess litespeed esi doesnt work in amp. Thank you for your time.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference