Page Optimizations Not Working
-
Report ID: BUEGYTYN
I’m not sure what’s happening, but none of my optimizations work. Version with cache and without cache looks equal.
The page I need help with: [log in to see the link]
-
please enable debug log and see what log says
Strange, I’ve activated it for a specific URL (which is from one month ago, so is not receiving much visits), but the log only generated entry for a Bot, it only got my pageview when I accessed it while logged in, so I’m not sure if the log is useful.
09/01/22 21:07:12.032 [74.119.118.22:56344 1 f0J] ?? ------GET HTTP/1.1 (HTTPS) /crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/ 09/01/22 21:07:12.032 [74.119.118.22:56344 1 f0J] Query String: 09/01/22 21:07:12.032 [74.119.118.22:56344 1 f0J] User Agent: CriteoBot/0.1 (+https://www.criteo.com/criteo-crawler/) 09/01/22 21:07:12.032 [74.119.118.22:56344 1 f0J] Accept: */* 09/01/22 21:07:12.032 [74.119.118.22:56344 1 f0J] Accept Encoding: gzip 09/01/22 21:07:12.032 [74.119.118.22:56344 1 f0J] X-LSCACHE: true 09/01/22 21:07:12.033 [74.119.118.22:56344 1 f0J] [ESI] Overwrite wp_create_nonce() 09/01/22 21:07:12.106 [74.119.118.22:56344 1 f0J] [Ctrl] X Cache_control -> stale 09/01/22 21:07:12.117 [74.119.118.22:56344 1 f0J] [Vary] ???? Guest mode 09/01/22 21:07:12.117 [74.119.118.22:56344 1 f0J] [Router] get_role: 09/01/22 21:07:12.117 [74.119.118.22:56344 1 f0J] [Media] init 09/01/22 21:07:12.117 [74.119.118.22:56344 1 f0J] ?? Suppress default WP lazyload 09/01/22 21:07:12.118 [74.119.118.22:56344 1 f0J] [LQIP] init 09/01/22 21:07:12.118 [74.119.118.22:56344 1 f0J] [Optm] init 09/01/22 21:07:12.118 [74.119.118.22:56344 1 f0J] [CDN] init 09/01/22 21:07:12.119 [74.119.118.22:56344 1 f0J] ? Task init 09/01/22 21:07:12.119 [74.119.118.22:56344 1 f0J] [Router] LSCWP_CTRL bypassed empty 09/01/22 21:07:12.119 [74.119.118.22:56344 1 f0J] [GUI] init 09/01/22 21:07:12.174 [74.119.118.22:56344 1 f0J] ?? [Tag] Add --- HTTP.200 09/01/22 21:07:12.175 [74.119.118.22:56344 1 f0J] [Ctrl] X Cache_control init on 09/01/22 21:07:12.178 [74.119.118.22:56344 1 f0J] [Tool] Deregistered frontend heartbeat 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Core] CHK html bypass: miss footer const 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Media] bypass: Not frontend HTML type 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] GUI bypassed by no counter 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Optm] bypass: Not frontend HTML type 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Core] CHK html bypass: miss footer const 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Router] get_role: 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Vary] no custimzed vary 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Ctrl] X Cache_control TTL is limited to 21228 due to scheduled purge regex .* 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] ?? X-LiteSpeed-Cache-Control: public,max-age=21228 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] ?? X-LiteSpeed-Tag: c43_HTTP.200,c43_post,c43_URL./crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/,c43_Po.243106,c43_guest,c43_ 09/01/22 18:07:12.672 [74.119.118.22:56344 1 f0J] --forced-- 09/01/22 18:07:12.672 [74.119.118.22:56344 1 f0J] Response headers --- array ( 0 => 'X-DNS-Prefetch-Control: on', 1 => 'Content-Type: text/html; charset=UTF-8', 2 => 'Link: <https://diariodegoias.com.br/?p=243106>; rel=shortlink', 3 => 'X-LiteSpeed-Cache-Control: public,max-age=21228', 4 => 'X-LiteSpeed-Tag: c43_HTTP.200,c43_post,c43_URL./crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/,c43_Po.243106,c43_guest,c43_', ) 09/01/22 18:07:12.672 [74.119.118.22:56344 1 f0J] End response -------------------------------------------------------------------------------- 09/01/22 18:07:12.672 [74.119.118.22:56344 1 f0J] [Core] Footer hook called 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] ?? ------GET HTTP/1.1 (HTTPS) /crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/ 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] Query String: 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] HTTP_REFERER: https://diariodegoias.com.br/ 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 OPR/89.0.4447.104 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] 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 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] Accept Encoding: br,gzip 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] Cookie _lscache_vary: 63604b537c9a5d1aa7254ad5287654f2 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] X-LSCACHE: true 09/01/22 21:10:24.859 [177.148.186.115:43042 1 CE4] LSCACHE_VARY_VALUE: +webp 09/01/22 21:10:24.861 [177.148.186.115:43042 1 CE4] [ESI] Overwrite wp_create_nonce() 09/01/22 21:10:24.952 [177.148.186.115:43042 1 CE4] [Ctrl] X Cache_control -> stale 09/01/22 21:10:24.966 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] stats_nonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] subscribe_nonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] wp_rest 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] cmreg_registration_nonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] role_nonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] wdap-call-nonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] seopress_cookies_user_consent_nonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] swpmtxnonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] wdt.* 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] _vcnonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] data-vc-public-nonce 09/01/22 21:10:24.967 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] rating_nonce 09/01/22 21:10:24.968 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] timeline_nonce 09/01/22 21:10:24.968 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] blog_feed_nonce 09/01/22 21:10:24.968 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] wsf_post 09/01/22 21:10:24.968 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] edd\-.* 09/01/22 21:10:24.968 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] edd_.* 09/01/22 21:10:24.968 [177.148.186.115:43042 1 CE4] [ESI] Appended nonce action to nonce list [action] wpmenucart 09/01/22 21:10:24.968 [177.148.186.115:43042 1 CE4] [Router] get_role: administrator 09/01/22 21:10:24.968 [177.148.186.115:43042 1 CE4] [Media] init 09/01/22 21:10:24.969 [177.148.186.115:43042 1 CE4] ?? Suppress default WP lazyload 09/01/22 21:10:24.970 [177.148.186.115:43042 1 CE4] [LQIP] init 09/01/22 21:10:24.970 [177.148.186.115:43042 1 CE4] [CDN] init 09/01/22 21:10:24.970 [177.148.186.115:43042 1 CE4] ? Task init 09/01/22 21:10:24.970 [177.148.186.115:43042 1 CE4] [Router] LSCWP_CTRL bypassed empty 09/01/22 21:10:24.971 [177.148.186.115:43042 1 CE4] [GUI] init 09/01/22 21:10:24.972 [177.148.186.115:43042 1 CE4] [ESI] param --- array ( 'action' => 'wp_rest', '_ls_silence' => true, ) 09/01/22 21:10:24.972 [177.148.186.115:43042 1 CE4] [ESI] md5_string=nonceeyJhY3Rpb24iOiJ3cF9yZXN0IiwiX2xzX3NpbGVuY2UiOnRydWV9 09/01/22 21:10:24.972 [177.148.186.115:43042 1 CE4] [ESI] ?? [BLock_ID] nonce [wrapper] wp_create_nonce wp_rest [Control] 09/01/22 21:10:24.972 [177.148.186.115:43042 1 CE4] <esi:include src='/?lsesi=nonce&esi=eyJhY3Rpb24iOiJ3cF9yZXN0IiwiX2xzX3NpbGVuY2UiOnRydWV9&_hash=984bbcfc0791980eb997e561fc2dcff5' as-var='1' /> 09/01/22 21:10:24.973 [177.148.186.115:43042 1 CE4] [ESI] Preserved to df73a758774630f9bac2d1d48605b61e 09/01/22 21:10:25.036 [177.148.186.115:43042 1 CE4] ?? [Tag] Add --- HTTP.200 09/01/22 21:10:25.036 [177.148.186.115:43042 1 CE4] [Ctrl] X Cache_control init on 09/01/22 21:10:25.039 [177.148.186.115:43042 1 CE4] [Tool] Deregistered frontend heartbeat 09/01/22 18:10:25.633 [177.148.186.115:43042 1 CE4] [Core] CHK html bypass: miss footer const 09/01/22 18:10:25.633 [177.148.186.115:43042 1 CE4] [Media] bypass: Not frontend HTML type 09/01/22 18:10:25.633 [177.148.186.115:43042 1 CE4] GUI bypassed by no counter 09/01/22 18:10:25.633 [177.148.186.115:43042 1 CE4] [ESI] replacing preserved blocks --- df73a758774630f9bac2d1d48605b61e 09/01/22 18:10:25.634 [177.148.186.115:43042 1 CE4] [Core] CHK html bypass: miss footer const 09/01/22 18:10:25.634 [177.148.186.115:43042 1 CE4] [Ctrl] X Cache_control off - Role Excludes setting administrator 09/01/22 18:10:25.634 [177.148.186.115:43042 1 CE4] [Ctrl] X Cache_control -> no Cache => LiteSpeed\Control::set_nocache()@362 => LiteSpeed\Control->finalize()@662 => LiteSpeed\LSC->send_headers()@494 => LiteSpeed\LSC->send_headers_force(<!doctype html> <html lang="pt-BR"> <head> <!-- Required meta tags --> <meta ch)@431 => /home/c5d9dbc3/domains/diariodegoias.com.br/public_html/wp-content/themes/diariodegoias/inc/ads.php => /home/c5d9dbc3/domains/diariodegoias.com.br/public_html/wp-includes/class-wp-hook.php@633 09/01/22 18:10:25.634 [177.148.186.115:43042 1 CE4] [Vary] role in vary_group [group] 99 09/01/22 18:10:25.634 [177.148.186.115:43042 1 CE4] [Vary] show_admin_bar_front: true 09/01/22 18:10:25.634 [177.148.186.115:43042 1 CE4] [Vary] admin bar : true 09/01/22 18:10:25.634 [177.148.186.115:43042 1 CE4] [Vary] set_cookie ---> admin_bar:1;guest_mode:1;logged-in:1;role:99;role_exclude_cache:1 09/01/22 18:10:25.635 [177.148.186.115:43042 1 CE4] [Vary] no custimzed vary 09/01/22 18:10:25.635 [177.148.186.115:43042 1 CE4] ?? X-LiteSpeed-Cache-Control: no-cache,esi=on 09/01/22 18:10:25.635 [177.148.186.115:43042 1 CE4] --forced-- 09/01/22 18:10:25.635 [177.148.186.115:43042 1 CE4] Response headers --- array ( 0 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT', 1 => 'Cache-Control: no-cache, must-revalidate, max-age=0', 2 => 'Content-Type: text/html; charset=UTF-8', 3 => 'X-LiteSpeed-Tag: c43_HTTP.200', 4 => 'Link: <https://diariodegoias.com.br/?p=243106>; rel=shortlink', 5 => 'Set-Cookie: _lscache_vary=admin_bar%3A1%3Bguest_mode%3A1%3Blogged-in%3A1%3Brole%3A99%3Brole_exclude_cache%3A1; expires=Sun, 04-Sep-2022 00:10:25 GMT; Max-Age=172800; path=/; secure; HttpOnly', 6 => 'X-LiteSpeed-Cache-Control: no-cache,esi=on', ) 09/01/22 18:10:25.635 [177.148.186.115:43042 1 CE4] End response -------------------------------------------------------------------------------- 09/01/22 18:10:25.635 [177.148.186.115:43042 1 CE4] [Core] Footer hook called 09/01/22 18:10:25.637 [177.148.186.115:43042 1 CE4] [ESI] param --- array ( 'ref' => '/crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/', ) 09/01/22 18:10:25.637 [177.148.186.115:43042 1 CE4] [ESI] md5_string=admin-barprivate,no-varyeyJyZWYiOiJcL2NycC1hYnJlLWluc2NyaWNvZXMtcGFyYS1jb25jdXJzby1jb20tc2FsYXJpb3MtZGUtYXRlLTM1LW1pbFwvIn0= 09/01/22 18:10:25.637 [177.148.186.115:43042 1 CE4] [ESI] ?? [BLock_ID] admin-bar [wrapper] adminbar [Control] private,no-vary 09/01/22 18:10:25.637 [177.148.186.115:43042 1 CE4] <!-- lscwp adminbar --><esi:include src='/?lsesi=admin-bar&_control=private%2Cno-vary&esi=eyJyZWYiOiJcL2NycC1hYnJlLWluc2NyaWNvZXMtcGFyYS1jb25jdXJzby1jb20tc2FsYXJpb3MtZGUtYXRlLTM1LW1pbFwvIn0%3D&_hash=bd39e7784c0ed789d770bd6aa815d8f4' cache-control='private,no-vary' /><!-- lscwp adminbar esi end -->
09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Core] CHK html bypass: miss footer const 09/01/22 18:07:12.671 [74.119.118.22:56344 1 f0J] [Media] bypass: Not frontend HTML type
these 2 lines shows the reason
it says miss
footer
, this means something maybe the theme or other plugin forgot to call the wp_footer , which makes plugin to think this is an incomplete page , so to avoid any potential issue , it bypasses on incomplete page.Here’s an additional log after fully clearing the cache and accessing the page again:
09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] ?? ------GET HTTP/1.1 (HTTPS) /crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/ 09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] Query String: 09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] HTTP_REFERER: https://diariodegoias.com.br/crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/ 09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 OPR/89.0.4447.104 09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] 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 09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] Accept Encoding: br,gzip 09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] Cookie _lscache_vary: 63604b537c9a5d1aa7254ad5287654f2 09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] X-LSCACHE: true 09/01/22 21:14:48.916 [177.148.186.115:57000 1 FjU] LSCACHE_VARY_VALUE: +webp 09/01/22 21:14:48.925 [177.148.186.115:57000 1 FjU] [ESI] Overwrite wp_create_nonce() 09/01/22 21:14:49.466 [177.148.186.115:57000 1 FjU] [Ctrl] X Cache_control -> stale 09/01/22 21:14:49.528 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] stats_nonce 09/01/22 21:14:49.528 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] subscribe_nonce 09/01/22 21:14:49.528 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] wp_rest 09/01/22 21:14:49.528 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] cmreg_registration_nonce 09/01/22 21:14:49.528 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] role_nonce 09/01/22 21:14:49.528 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] wdap-call-nonce 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] seopress_cookies_user_consent_nonce 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] swpmtxnonce 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] wdt.* 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] _vcnonce 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] data-vc-public-nonce 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] rating_nonce 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] timeline_nonce 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] blog_feed_nonce 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] wsf_post 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] edd\-.* 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] edd_.* 09/01/22 21:14:49.529 [177.148.186.115:57000 1 FjU] [ESI] Appended nonce action to nonce list [action] wpmenucart 09/01/22 21:14:49.530 [177.148.186.115:57000 1 FjU] [Router] get_role: administrator 09/01/22 21:14:49.530 [177.148.186.115:57000 1 FjU] [Media] init 09/01/22 21:14:49.530 [177.148.186.115:57000 1 FjU] ?? Suppress default WP lazyload 09/01/22 21:14:49.532 [177.148.186.115:57000 1 FjU] [LQIP] init 09/01/22 21:14:49.535 [177.148.186.115:57000 1 FjU] [CDN] init 09/01/22 21:14:49.536 [177.148.186.115:57000 1 FjU] ? Task init 09/01/22 21:14:49.536 [177.148.186.115:57000 1 FjU] [Router] LSCWP_CTRL bypassed empty 09/01/22 21:14:49.539 [177.148.186.115:57000 1 FjU] [GUI] init 09/01/22 21:14:49.541 [177.148.186.115:57000 1 FjU] [ESI] param --- array ( 'action' => 'wp_rest', '_ls_silence' => true, ) 09/01/22 21:14:49.541 [177.148.186.115:57000 1 FjU] [ESI] md5_string=nonceeyJhY3Rpb24iOiJ3cF9yZXN0IiwiX2xzX3NpbGVuY2UiOnRydWV9 09/01/22 21:14:49.541 [177.148.186.115:57000 1 FjU] [ESI] ?? [BLock_ID] nonce [wrapper] wp_create_nonce wp_rest [Control] 09/01/22 21:14:49.541 [177.148.186.115:57000 1 FjU] <esi:include src='/?lsesi=nonce&esi=eyJhY3Rpb24iOiJ3cF9yZXN0IiwiX2xzX3NpbGVuY2UiOnRydWV9&_hash=984bbcfc0791980eb997e561fc2dcff5' as-var='1' /> 09/01/22 21:14:49.541 [177.148.186.115:57000 1 FjU] [ESI] Preserved to df73a758774630f9bac2d1d48605b61e 09/01/22 21:14:49.677 [177.148.186.115:57000 1 FjU] ?? [Tag] Add --- HTTP.200 09/01/22 21:14:49.677 [177.148.186.115:57000 1 FjU] [Ctrl] X Cache_control init on 09/01/22 21:14:49.685 [177.148.186.115:57000 1 FjU] [Tool] Deregistered frontend heartbeat 09/01/22 18:14:50.343 [177.148.186.115:57000 1 FjU] [Core] CHK html bypass: miss footer const 09/01/22 18:14:50.343 [177.148.186.115:57000 1 FjU] [Media] bypass: Not frontend HTML type 09/01/22 18:14:50.343 [177.148.186.115:57000 1 FjU] GUI bypassed by no counter 09/01/22 18:14:50.343 [177.148.186.115:57000 1 FjU] [ESI] replacing preserved blocks --- df73a758774630f9bac2d1d48605b61e 09/01/22 18:14:50.343 [177.148.186.115:57000 1 FjU] [Core] CHK html bypass: miss footer const 09/01/22 18:14:50.343 [177.148.186.115:57000 1 FjU] [Ctrl] X Cache_control off - Role Excludes setting administrator 09/01/22 18:14:50.344 [177.148.186.115:57000 1 FjU] [Ctrl] X Cache_control -> no Cache => LiteSpeed\Control::set_nocache()@362 => LiteSpeed\Control->finalize()@662 => LiteSpeed\LSC->send_headers()@494 => LiteSpeed\LSC->send_headers_force(<!doctype html> <html lang="pt-BR"> <head> <!-- Required meta tags --> <meta ch)@431 => /home/c5d9dbc3/domains/diariodegoias.com.br/public_html/wp-content/themes/diariodegoias/inc/ads.php => /home/c5d9dbc3/domains/diariodegoias.com.br/public_html/wp-includes/class-wp-hook.php@633 09/01/22 18:14:50.344 [177.148.186.115:57000 1 FjU] [Vary] role in vary_group [group] 99 09/01/22 18:14:50.344 [177.148.186.115:57000 1 FjU] [Vary] show_admin_bar_front: true 09/01/22 18:14:50.344 [177.148.186.115:57000 1 FjU] [Vary] admin bar : true 09/01/22 18:14:50.348 [177.148.186.115:57000 1 FjU] [Vary] set_cookie ---> admin_bar:1;guest_mode:1;logged-in:1;role:99;role_exclude_cache:1 09/01/22 18:14:50.348 [177.148.186.115:57000 1 FjU] [Vary] no custimzed vary 09/01/22 18:14:50.348 [177.148.186.115:57000 1 FjU] ?? X-LiteSpeed-Cache-Control: no-cache,esi=on 09/01/22 18:14:50.348 [177.148.186.115:57000 1 FjU] --forced-- 09/01/22 18:14:50.348 [177.148.186.115:57000 1 FjU] Response headers --- array ( 0 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT', 1 => 'Cache-Control: no-cache, must-revalidate, max-age=0', 2 => 'Content-Type: text/html; charset=UTF-8', 3 => 'X-LiteSpeed-Tag: c43_HTTP.200', 4 => 'Link: <https://diariodegoias.com.br/?p=243106>; rel=shortlink', 5 => 'Set-Cookie: _lscache_vary=admin_bar%3A1%3Bguest_mode%3A1%3Blogged-in%3A1%3Brole%3A99%3Brole_exclude_cache%3A1; expires=Sun, 04-Sep-2022 00:14:50 GMT; Max-Age=172800; path=/; secure; HttpOnly', 6 => 'X-LiteSpeed-Cache-Control: no-cache,esi=on', ) 09/01/22 18:14:50.348 [177.148.186.115:57000 1 FjU] End response -------------------------------------------------------------------------------- 09/01/22 18:14:50.349 [177.148.186.115:57000 1 FjU] [Core] Footer hook called 09/01/22 18:14:50.350 [177.148.186.115:57000 1 FjU] [ESI] param --- array ( 'ref' => '/crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/', ) 09/01/22 18:14:50.350 [177.148.186.115:57000 1 FjU] [ESI] md5_string=admin-barprivate,no-varyeyJyZWYiOiJcL2NycC1hYnJlLWluc2NyaWNvZXMtcGFyYS1jb25jdXJzby1jb20tc2FsYXJpb3MtZGUtYXRlLTM1LW1pbFwvIn0= 09/01/22 18:14:50.351 [177.148.186.115:57000 1 FjU] [ESI] ?? [BLock_ID] admin-bar [wrapper] adminbar [Control] private,no-vary 09/01/22 18:14:50.351 [177.148.186.115:57000 1 FjU] <!-- lscwp adminbar --><esi:include src='/?lsesi=admin-bar&_control=private%2Cno-vary&esi=eyJyZWYiOiJcL2NycC1hYnJlLWluc2NyaWNvZXMtcGFyYS1jb25jdXJzby1jb20tc2FsYXJpb3MtZGUtYXRlLTM1LW1pbFwvIn0%3D&_hash=bd39e7784c0ed789d770bd6aa815d8f4' cache-control='private,no-vary' /><!-- lscwp adminbar esi end --> 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] ?? ------GET HTTP/1.1 (HTTPS) /crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/ 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] Query String: 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] HTTP_REFERER: https://diariodegoias.com.br/crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/ 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 OPR/89.0.4447.104 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] 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 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] Accept Encoding: br,gzip 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] Cookie _lscache_vary: 63604b537c9a5d1aa7254ad5287654f2 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] X-LSCACHE: true 09/01/22 21:14:53.576 [177.148.186.115:57000 1 uvM] LSCACHE_VARY_VALUE: +webp 09/01/22 21:14:53.577 [177.148.186.115:57000 1 uvM] [ESI] Overwrite wp_create_nonce() 09/01/22 21:14:53.658 [177.148.186.115:57000 1 uvM] [Ctrl] X Cache_control -> stale 09/01/22 21:14:53.671 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] stats_nonce 09/01/22 21:14:53.671 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] subscribe_nonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] wp_rest 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] cmreg_registration_nonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] role_nonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] wdap-call-nonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] seopress_cookies_user_consent_nonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] swpmtxnonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] wdt.* 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] _vcnonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] data-vc-public-nonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] rating_nonce 09/01/22 21:14:53.672 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] timeline_nonce 09/01/22 21:14:53.673 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] blog_feed_nonce 09/01/22 21:14:53.673 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] wsf_post 09/01/22 21:14:53.673 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] edd\-.* 09/01/22 21:14:53.673 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] edd_.* 09/01/22 21:14:53.673 [177.148.186.115:57000 1 uvM] [ESI] Appended nonce action to nonce list [action] wpmenucart 09/01/22 21:14:53.673 [177.148.186.115:57000 1 uvM] [Router] get_role: administrator 09/01/22 21:14:53.673 [177.148.186.115:57000 1 uvM] [Media] init 09/01/22 21:14:53.674 [177.148.186.115:57000 1 uvM] ?? Suppress default WP lazyload 09/01/22 21:14:53.675 [177.148.186.115:57000 1 uvM] [LQIP] init 09/01/22 21:14:53.675 [177.148.186.115:57000 1 uvM] [CDN] init 09/01/22 21:14:53.675 [177.148.186.115:57000 1 uvM] ? Task init 09/01/22 21:14:53.675 [177.148.186.115:57000 1 uvM] [Router] LSCWP_CTRL bypassed empty 09/01/22 21:14:53.676 [177.148.186.115:57000 1 uvM] [GUI] init 09/01/22 21:14:53.677 [177.148.186.115:57000 1 uvM] [ESI] param --- array ( 'action' => 'wp_rest', '_ls_silence' => true, ) 09/01/22 21:14:53.677 [177.148.186.115:57000 1 uvM] [ESI] md5_string=nonceeyJhY3Rpb24iOiJ3cF9yZXN0IiwiX2xzX3NpbGVuY2UiOnRydWV9 09/01/22 21:14:53.677 [177.148.186.115:57000 1 uvM] [ESI] ?? [BLock_ID] nonce [wrapper] wp_create_nonce wp_rest [Control] 09/01/22 21:14:53.677 [177.148.186.115:57000 1 uvM] <esi:include src='/?lsesi=nonce&esi=eyJhY3Rpb24iOiJ3cF9yZXN0IiwiX2xzX3NpbGVuY2UiOnRydWV9&_hash=984bbcfc0791980eb997e561fc2dcff5' as-var='1' /> 09/01/22 21:14:53.677 [177.148.186.115:57000 1 uvM] [ESI] Preserved to df73a758774630f9bac2d1d48605b61e 09/01/22 21:14:53.749 [177.148.186.115:57000 1 uvM] ?? [Tag] Add --- HTTP.200 09/01/22 21:14:53.749 [177.148.186.115:57000 1 uvM] [Ctrl] X Cache_control init on 09/01/22 21:14:53.752 [177.148.186.115:57000 1 uvM] [Tool] Deregistered frontend heartbeat 09/01/22 18:14:54.346 [177.148.186.115:57000 1 uvM] [Core] CHK html bypass: miss footer const 09/01/22 18:14:54.346 [177.148.186.115:57000 1 uvM] [Media] bypass: Not frontend HTML type 09/01/22 18:14:54.346 [177.148.186.115:57000 1 uvM] GUI bypassed by no counter 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [ESI] replacing preserved blocks --- df73a758774630f9bac2d1d48605b61e 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [Core] CHK html bypass: miss footer const 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [Ctrl] X Cache_control off - Role Excludes setting administrator 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [Ctrl] X Cache_control -> no Cache => LiteSpeed\Control::set_nocache()@362 => LiteSpeed\Control->finalize()@662 => LiteSpeed\LSC->send_headers()@494 => LiteSpeed\LSC->send_headers_force(<!doctype html> <html lang="pt-BR"> <head> <!-- Required meta tags --> <meta ch)@431 => /home/c5d9dbc3/domains/diariodegoias.com.br/public_html/wp-content/themes/diariodegoias/inc/ads.php => /home/c5d9dbc3/domains/diariodegoias.com.br/public_html/wp-includes/class-wp-hook.php@633 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [Vary] role in vary_group [group] 99 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [Vary] show_admin_bar_front: true 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [Vary] admin bar : true 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [Vary] set_cookie ---> admin_bar:1;guest_mode:1;logged-in:1;role:99;role_exclude_cache:1 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] [Vary] no custimzed vary 09/01/22 18:14:54.347 [177.148.186.115:57000 1 uvM] ?? X-LiteSpeed-Cache-Control: no-cache,esi=on 09/01/22 18:14:54.348 [177.148.186.115:57000 1 uvM] --forced-- 09/01/22 18:14:54.348 [177.148.186.115:57000 1 uvM] Response headers --- array ( 0 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT', 1 => 'Cache-Control: no-cache, must-revalidate, max-age=0', 2 => 'Content-Type: text/html; charset=UTF-8', 3 => 'X-LiteSpeed-Tag: c43_HTTP.200', 4 => 'Link: <https://diariodegoias.com.br/?p=243106>; rel=shortlink', 5 => 'Set-Cookie: _lscache_vary=admin_bar%3A1%3Bguest_mode%3A1%3Blogged-in%3A1%3Brole%3A99%3Brole_exclude_cache%3A1; expires=Sun, 04-Sep-2022 00:14:54 GMT; Max-Age=172800; path=/; secure; HttpOnly', 6 => 'X-LiteSpeed-Cache-Control: no-cache,esi=on', ) 09/01/22 18:14:54.348 [177.148.186.115:57000 1 uvM] End response -------------------------------------------------------------------------------- 09/01/22 18:14:54.348 [177.148.186.115:57000 1 uvM] [Core] Footer hook called 09/01/22 18:14:54.349 [177.148.186.115:57000 1 uvM] [ESI] param --- array ( 'ref' => '/crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/', ) 09/01/22 18:14:54.349 [177.148.186.115:57000 1 uvM] [ESI] md5_string=admin-barprivate,no-varyeyJyZWYiOiJcL2NycC1hYnJlLWluc2NyaWNvZXMtcGFyYS1jb25jdXJzby1jb20tc2FsYXJpb3MtZGUtYXRlLTM1LW1pbFwvIn0= 09/01/22 18:14:54.349 [177.148.186.115:57000 1 uvM] [ESI] ?? [BLock_ID] admin-bar [wrapper] adminbar [Control] private,no-vary 09/01/22 18:14:54.350 [177.148.186.115:57000 1 uvM] <!-- lscwp adminbar --><esi:include src='/?lsesi=admin-bar&_control=private%2Cno-vary&esi=eyJyZWYiOiJcL2NycC1hYnJlLWluc2NyaWNvZXMtcGFyYS1jb25jdXJzby1jb20tc2FsYXJpb3MtZGUtYXRlLTM1LW1pbFwvIn0%3D&_hash=bd39e7784c0ed789d770bd6aa815d8f4' cache-control='private,no-vary' /><!-- lscwp adminbar esi end --> 09/01/22 21:15:01.703 [177.148.186.115:57530 1 Yzf] ?? ------GET HTTP/1.1 (HTTPS) /crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/ 09/01/22 21:15:01.703 [177.148.186.115:57530 1 Yzf] Query String: 09/01/22 21:15:01.703 [177.148.186.115:57530 1 Yzf] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 OPR/89.0.4447.104 09/01/22 21:15:01.703 [177.148.186.115:57530 1 Yzf] 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 09/01/22 21:15:01.703 [177.148.186.115:57530 1 Yzf] Accept Encoding: br,gzip 09/01/22 21:15:01.703 [177.148.186.115:57530 1 Yzf] X-LSCACHE: true 09/01/22 21:15:01.703 [177.148.186.115:57530 1 Yzf] LSCACHE_VARY_VALUE: +webp 09/01/22 21:15:01.705 [177.148.186.115:57530 1 Yzf] [ESI] Overwrite wp_create_nonce() 09/01/22 21:15:01.804 [177.148.186.115:57530 1 Yzf] [Ctrl] X Cache_control -> stale 09/01/22 21:15:01.817 [177.148.186.115:57530 1 Yzf] [Vary] ???? Guest mode 09/01/22 21:15:01.817 [177.148.186.115:57530 1 Yzf] [Router] get_role: 09/01/22 21:15:01.817 [177.148.186.115:57530 1 Yzf] [Media] init 09/01/22 21:15:01.818 [177.148.186.115:57530 1 Yzf] ?? Suppress default WP lazyload 09/01/22 21:15:01.819 [177.148.186.115:57530 1 Yzf] [LQIP] init 09/01/22 21:15:01.820 [177.148.186.115:57530 1 Yzf] [Optm] init 09/01/22 21:15:01.820 [177.148.186.115:57530 1 Yzf] [CDN] init 09/01/22 21:15:01.820 [177.148.186.115:57530 1 Yzf] ? Task init 09/01/22 21:15:01.821 [177.148.186.115:57530 1 Yzf] [Router] LSCWP_CTRL bypassed empty 09/01/22 21:15:01.821 [177.148.186.115:57530 1 Yzf] [GUI] init 09/01/22 21:15:01.910 [177.148.186.115:57530 1 Yzf] ?? [Tag] Add --- HTTP.200 09/01/22 21:15:01.910 [177.148.186.115:57530 1 Yzf] [Ctrl] X Cache_control init on 09/01/22 21:15:01.914 [177.148.186.115:57530 1 Yzf] [Tool] Deregistered frontend heartbeat 09/01/22 18:15:02.620 [177.148.186.115:57530 1 Yzf] [Core] CHK html bypass: miss footer const 09/01/22 18:15:02.620 [177.148.186.115:57530 1 Yzf] [Media] bypass: Not frontend HTML type 09/01/22 18:15:02.620 [177.148.186.115:57530 1 Yzf] GUI bypassed by no counter 09/01/22 18:15:02.620 [177.148.186.115:57530 1 Yzf] [Optm] bypass: Not frontend HTML type 09/01/22 18:15:02.620 [177.148.186.115:57530 1 Yzf] [Core] CHK html bypass: miss footer const 09/01/22 18:15:02.620 [177.148.186.115:57530 1 Yzf] [Router] get_role: 09/01/22 18:15:02.621 [177.148.186.115:57530 1 Yzf] [Vary] no custimzed vary 09/01/22 18:15:02.621 [177.148.186.115:57530 1 Yzf] [Ctrl] X Cache_control TTL is limited to 20758 due to scheduled purge regex .* 09/01/22 18:15:02.621 [177.148.186.115:57530 1 Yzf] ?? X-LiteSpeed-Cache-Control: public,max-age=20758 09/01/22 18:15:02.621 [177.148.186.115:57530 1 Yzf] ?? X-LiteSpeed-Tag: c43_HTTP.200,c43_post,c43_URL./crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/,c43_Po.243106,c43_guest,c43_ 09/01/22 18:15:02.621 [177.148.186.115:57530 1 Yzf] --forced-- 09/01/22 18:15:02.621 [177.148.186.115:57530 1 Yzf] Response headers --- array ( 0 => 'X-DNS-Prefetch-Control: on', 1 => 'Content-Type: text/html; charset=UTF-8', 2 => 'Link: <https://diariodegoias.com.br/?p=243106>; rel=shortlink', 3 => 'X-LiteSpeed-Cache-Control: public,max-age=20758', 4 => 'X-LiteSpeed-Tag: c43_HTTP.200,c43_post,c43_URL./crp-abre-inscricoes-para-concurso-com-salarios-de-ate-35-mil/,c43_Po.243106,c43_guest,c43_', ) 09/01/22 18:15:02.621 [177.148.186.115:57530 1 Yzf] End response -------------------------------------------------------------------------------- 09/01/22 18:15:02.622 [177.148.186.115:57530 1 Yzf] [Core] Footer hook called
Ok, I’m checking the footer thing. Let me see
No luck. From what I see, wp_footer is being called correctly, by the page source code I can see scripts which are tied to it appearing.
I’ll investigate further tomorrow.
this is how plugin checks footer https://github.com/litespeedtech/lscache_wp/blob/cbd03eb726d6b117b70aaaed24a690438d9bb1c7/src/core.cls.php#L162
Ok, found the bug.
I’ve checked if the footer was triggering, and it was as intended, then I saw that on a related function (send_headers_force)
* For compatibility with those plugins have ‘Bad’ logic that forced all buffer output even it is NOT their buffer
I had this piece of code on the wp_footer action:
ob_start(); custom_post_ad($target); $ads = ob_get_clean(); ob_end_flush();
After removing it, it worked. Do you know why this happened? Is that way of getting the buffer wrong? Or the plugin isn’t compatible with buffer retrieval at the footer action?
- The topic ‘Page Optimizations Not Working’ is closed to new replies.