Random cache miss without any purge
-
Hi,
It seems there is an issue with caching on all of my website using LSCache.
Here’s what’s happening: When my website is crawled, it is cached initially. However, after a certain period—sometimes a day, sometimes just a few hours—all previously cached posts return an “x-litespeed-cache: miss” status.
I’ve tried disabling some plugins that I suspected might interfere with LSCache, such as Related Posts and IQ Block Country, but the problem persists.
Regarding the logs, since our site receives a high volume of visitors, I didn’t enable logging for all posts. Instead, I activated logging for just one post in the “Debug URI Includes” section. After some time, the status of that post changed from “hit” to “miss,” but the purge log did not indicate any purging activities for that specific post.
From my understanding, it seems that the posts are changing to “miss” status without any purging occurring.
I’ve been struggling with this issue for over a week and genuinely don’t know what else to do to resolve it.
-
it won’t work that way if you use debug include URI , if other action triggered , it wont show up
you can set it to
Admin IP Only
this way it won’t generate log for other IP but only IPs in the list , you can put a fake IP there or just 127.0.0.1, and purge log has its own entry will keep generate no matter the IP set
Thank you for your advice, this is the Purge log I’m getting, it seems random posts getting purged by admin-ajax.php. During this short period nothing has been edited or posted on the site.
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] Query String:
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] HTTP_REFERER: https://www.example.com/post-241182.html
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit...
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] Accept: */*
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] Accept Encoding: gzip, deflate, br
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] X-LSCACHE: true
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] LSCACHE_VARY_VALUE: +IR
10/19/24 15:28:26.583 [151.240.60.147:54394 1 sO8] X-LiteSpeed-Purge: public,stale,f51_Po.241182,f51_URL.4ccd34a265033b142c106e7737d8f525,f51_W.recent-posts-1,f51_Po.11962,f51_Po.11969,f51_T.1,f51_FD,f51_H,f51_REST => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
/home/xxx/public_html/wp-includes/load.php@517
10/19/24 15:34:03.618 [37.156.156.122:34778 1 ce3] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/19/24 15:34:03.618 [37.156.156.122:34778 1 ce3] Query String:
10/19/24 15:34:03.618 [37.156.156.122:34778 1 ce3] HTTP_REFERER: https://www.example.com/post-348256....
10/19/24 15:34:03.618 [37.156.156.122:34778 1 ce3] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) G...
10/19/24 15:34:03.618 [37.156.156.122:34778 1 ce3] Accept: */*
10/19/24 15:34:03.618 [37.156.156.122:34778 1 ce3] Accept Encoding: gzip, deflate, br, zstd
10/19/24 15:34:03.618 [37.156.156.122:34778 1 ce3] X-LSCACHE: true
10/19/24 15:34:03.618 [37.156.156.122:34778 1 ce3] LSCACHE_VARY_VALUE: +IR
10/19/24 15:34:03.619 [37.156.156.122:34778 1 ce3] X-LiteSpeed-Purge: public,stale,f51_Po.348256,f51_URL.8e60ac699daf1c827b90d53319be3793,f51_W.recent-posts-1,f51_Po.347994,f51_Po.334531,f51_T.121098,f51_T.121080,f51_T.121099,f51_T.121104,f51_T.121055,f51_T.127176,f51_T.127200,f51_T.127229,f51_T.377,f51_T.2123,f51_T.127201,f51_FD,f51_H,f51_REST => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
/home/xxx/public_html/wp-includes/load.php@517
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] Query String:
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] HTTP_REFERER: https://www.example.com/post-348256....
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) G...
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] Accept: */*
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] Accept Encoding: gzip, deflate, br, zstd
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] X-LSCACHE: true
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] LSCACHE_VARY_VALUE: +IR
10/19/24 15:34:46.457 [37.156.156.122:34778 1 Iu9] X-LiteSpeed-Purge: public,stale,f51_Po.348256,f51_URL.8e60ac699daf1c827b90d53319be3793,f51_W.recent-posts-1,f51_Po.347994,f51_Po.334531,f51_T.121098,f51_T.121080,f51_T.121099,f51_T.121104,f51_T.121055,f51_T.127176,f51_T.127200,f51_T.127229,f51_T.377,f51_T.2123,f51_T.127201,f51_FD,f51_H,f51_REST => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
/home/xxx/public_html/wp-includes/load.php@517
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] Query String:
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] HTTP_REFERER: https://www.example.com/post-351798.html
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) G...
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] Accept: */*
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] Accept Encoding: gzip, deflate, br, zstd
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] X-LSCACHE: true
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] LSCACHE_VARY_VALUE: +IR
10/19/24 15:35:44.509 [37.156.156.122:34778 1 gIS] X-LiteSpeed-Purge: public,stale,f51_Po.351798,f51_URL.62072ac36aed10610c85c51fae9f5653,f51_W.recent-posts-1,f51_Po.9877,f51_Po.53531,f51_T.121098,f51_T.121099,f51_T.121214,f51_T.127200,f51_T.377,f51_T.2123,f51_T.127201,f51_FD,f51_H,f51_REST => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
/home/xxx/public_html/wp-includes/load.php@517
10/19/24 15:38:44.572 [91.148.245.26:6650 1 J9J] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/19/24 15:38:44.572 [91.148.245.26:6650 1 J9J] Query String:
10/19/24 15:38:44.572 [91.148.245.26:6650 1 J9J] HTTP_REFERER: https://www.example.com/post-351798.html
10/19/24 15:38:44.572 [91.148.245.26:6650 1 J9J] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit...
10/19/24 15:38:44.572 [91.148.245.26:6650 1 J9J] Accept: */*
10/19/24 15:38:44.572 [91.148.245.26:6650 1 J9J] Accept Encoding: gzip, deflate, br, zstd
10/19/24 15:38:44.572 [91.148.245.26:6650 1 J9J] X-LSCACHE: true
10/19/24 15:38:44.573 [91.148.245.26:6650 1 J9J] X-LiteSpeed-Purge: public,stale,f51_Po.351798,f51_URL.62072ac36aed10610c85c51fae9f5653,f51_W.recent-posts-1,f51_Po.9877,f51_Po.53531,f51_T.121098,f51_T.121099,f51_T.121214,f51_T.127200,f51_T.377,f51_T.2123,f51_T.127201,f51_FD,f51_H,f51_REST => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
/home/xxx/public_html/wp-includes/load.php@517- This reply was modified 1 month ago by David.
Additionally, there are still other posts that are not recorded in the log that are being purged as well.
okay, the purge log is half way
now please set debug log to ON , debug include URI to
admin-ajax.php
, see if it can capture the full logThere are now many logs being generated (about 10 logs every minute). Which one should I focus on and share here?
- This reply was modified 1 month ago by David.
you can search
`
X-LiteSpeed-Purge
in debug log , and share the section it matches
if you have quite some traffic then you may need to set the log size to bigger
if you set it to bigger, you may need to use SSH or similar tools to check log , open it in log view for big file will cause it time out or browser hangs
It appears that the wp-content/debug.log file is not being generated.
In the admin panel, the log history is quite limited and does not display previous entries.
it should be within
/wp-content/litespeed/debug/
10/20/24 13:19:01.993 [5.161.120.159:47838 1 u3i] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/20/24 13:19:01.993 [5.161.120.159:47838 1 u3i] Query String: action=ai_ajax&ip-data=ip-address-country-city
10/20/24 13:19:01.993 [5.161.120.159:47838 1 u3i] HTTP_REFERER: https://www.example.com/post1-5657.html
10/20/24 13:19:01.993 [5.161.120.159:47838 1 u3i] User Agent: Mozilla/5.0 (Linux; Android 8.0.0; SM-G955U Build/R16...
10/20/24 13:19:01.993 [5.161.120.159:47838 1 u3i] Accept: */*
10/20/24 13:19:01.993 [5.161.120.159:47838 1 u3i] Accept Encoding: gzip, deflate, br, zstd
10/20/24 13:19:01.993 [5.161.120.159:47838 1 u3i] X-LSCACHE: true
10/20/24 13:19:01.993 [5.161.120.159:47838 1 u3i] LSCACHE_VARY_VALUE: +ismobile
10/20/24 13:19:02.247 [5.161.120.159:47838 1 u3i] [Ctrl] X Cache_control -> stale
10/20/24 13:19:02.259 [5.161.120.159:47838 1 u3i] [Media] init
10/20/24 13:19:02.260 [5.161.120.159:47838 1 u3i] [LQIP] init
10/20/24 13:19:02.260 [5.161.120.159:47838 1 u3i] [CDN] init
10/20/24 13:19:02.260 [5.161.120.159:47838 1 u3i] ? Init
10/20/24 13:19:02.261 [5.161.120.159:47838 1 u3i] [Router] LSCWP_CTRL bypassed empty
10/20/24 13:19:02.400 [5.161.120.159:47838 1 u3i] ?? [Tag] Add --- HTTP.200
10/20/24 13:19:02.400 [5.161.120.159:47838 1 u3i] [Core] CHK html bypass: miss footer const
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] [Ctrl] not cacheable before ctrl finalize
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] [Router] get_role:
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] [Vary] role id: failed, guest
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] [Router] get_role:
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] [Vary] no custimzed vary
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] ?? X-LiteSpeed-Cache-Control: no-cache
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] ?? Cache-Control: no-cache, no-store, must-revalidate, max-age=0
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] [Router] get_role:
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] [Vary] role id: failed, guest
10/20/24 13:19:02.401 [5.161.120.159:47838 1 u3i] [Router] get_role:
10/20/24 13:19:02.402 [5.161.120.159:47838 1 u3i] [Core] CHK html bypass: miss footer const
10/20/24 13:19:02.402 [5.161.120.159:47838 1 u3i] [Core] run hook litespeed_buffer_finalize
10/20/24 13:19:02.402 [5.161.120.159:47838 1 u3i] [Core] Silence Comment due to REST/AJAX
10/20/24 13:19:02.402 [5.161.120.159:47838 1 u3i] Response headers --- array (
0 => 'Access-Control-Allow-Origin: https://www.example.com',
1 => 'Access-Control-Allow-Credentials: true',
2 => 'Content-Type: text/html; charset=UTF-8',
3 => 'X-Robots-Tag: noindex',
4 => 'X-Content-Type-Options: nosniff',
5 => 'Referrer-Policy: strict-origin-when-cross-origin',
6 => 'X-Frame-Options: SAMEORIGIN',
7 => 'X-LiteSpeed-Tag: f51_HTTP.200',
8 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
9 => 'X-LiteSpeed-Cache-Control: no-cache',
10 => 'Cache-Control: no-cache, no-store, must-revalidate, max-age=0',
)
10/20/24 13:19:02.402 [5.161.120.159:47838 1 u3i] End response
--------------------------------------------------Duration: 411.64 ms------------------------------I have disabled any plugins that triggered a cache purge, and now there are no purge logs appearing.
However, after 1 to 2 hours, every crawled page still changes from ” x-litespeed-cache: hit” to “x-litespeed-cache: miss.”
The only logs still being generated are from the Ad Inserter plugin, which displays ads based on geo-targeting, which I send above.
it seems not same case , the admin-ajax.php in previous reply has no “Query String” , but the last one you posted does have and have no purge call
try use the purge log tag as reference (the 3 digital after IP:port) , to search in debug log to get full log
I apologize if I didn’t explain this clearly:
I found only this type of log in the purge log, which indicates that the WPDiscuz plugin caused some posts to get purged.
I already disabled the WPDiscuz plugin yesterday after I found this out:10/20/24 19:51:04.642 [151.244.203.204:53598 1 wey] ?? --------purge_tags prev is: 44544
10/20/24 19:51:04.642 [151.244.203.204:53598 1 wey] ?? --------purge_tags next is: 336138
10/20/24 19:51:04.646 [151.244.203.204:53598 1 wey] ?? added _Po.326337,_URL./post-326337.html/,_W.recent-posts-1,_Po.44544,_Po.336138,_T.126940,_T.121080,_T.126936,_T.121082,_T.126942,_T.126922,_T.127168,_T.377,_T.126944,_FD,_H => LiteSpeed\Root::debug(?? added _Po.326337,_URL./lies-of-p-ps5-326337.html/,_W.recent-posts-1,_Po.44544,_Po.336138,_T.12)@51 => LiteSpeed\Purge->_add(ARRAY)@501 => LiteSpeed\Purge::add(ARRAY)@473 => LiteSpeed\Purge->purge_post(326337)@885 => LiteSpeed\API->purge_post(326337)@221 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
/home/xxx/public_html/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelperOptimization.php@517 => WpdiscuzHelperOptimization->cleanPostCache(326337)@269
10/20/24 19:51:04.646 [151.244.203.204:53598 1 wey] ?? X-LiteSpeed-Purge: public,stale,f51_Po.326337,f51_URL./lies-of-p-ps5-326337.html/,f51_W.recent-posts-1,f51_Po.44544,f51_Po.336138,f51_T.126940,f51_T.121080,f51_T.126936,f51_T.121082,f51_T.126942,f51_T.126922,f51_T.127168,f51_T.377,f51_T.126944,f51_FD,f51_H
10/20/24 19:51:04.646 [151.244.203.204:53598 1 wey] ?? added _REST => LiteSpeed\Root::debug(?? added _REST,8)@51 => LiteSpeed\Purge->_add(ARRAY)@501 => LiteSpeed\Purge::add(REST)@473 => LiteSpeed\Purge->purge_post(326337)@887 => LiteSpeed\API->purge_post(326337)@221 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
/home/xxx/public_html/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelperOptimization.php@517 => WpdiscuzHelperOptimization->cleanPostCache(326337)@269
10/20/24 19:51:04.646 [151.244.203.204:53598 1 wey] ?? X-LiteSpeed-Purge: public,stale,f51_Po.326337,f51_URL./lies-of-p-ps5-326337.html/,f51_W.recent-posts-1,f51_Po.44544,f51_Po.336138,f51_T.126940,f51_T.121080,f51_T.126936,f51_T.121082,f51_T.126942,f51_T.126922,f51_T.127168,f51_T.377,f51_T.126944,f51_FD,f51_H,f51_REST
10/20/24 19:51:04.656 [151.244.203.204:53598 1 wey] [Core] CHK html bypass: miss footer const
10/20/24 19:51:04.659 [151.244.203.204:53598 1 wey] [Ctrl] not cacheable before ctrl finalize
10/20/24 19:51:04.659 [151.244.203.204:53598 1 wey] [Router] get_role:
10/20/24 19:51:04.659 [151.244.203.204:53598 1 wey] [Vary] role id: failed, guest
10/20/24 19:51:04.659 [151.244.203.204:53598 1 wey] [Router] get_role:
10/20/24 19:51:04.659 [151.244.203.204:53598 1 wey] [Vary] no custimzed vary
10/20/24 19:51:04.659 [151.244.203.204:53598 1 wey] ?? X-LiteSpeed-Cache-Control: no-cache
10/20/24 19:51:04.659 [151.244.203.204:53598 1 wey] ?? Cache-Control: no-cache, no-store, must-revalidate, max-age=0
10/20/24 19:51:04.659 [151.244.203.204:53598 1 wey] ?? X-LiteSpeed-Purge: public,stale,f51_Po.326337,f51_URL./lies-of-p-ps5-326337.html/,f51_W.recent-posts-1,f51_Po.44544,f51_Po.336138,f51_T.126940,f51_T.121080,f51_T.126936,f51_T.121082,f51_T.126942,f51_T.126922,f51_T.127168,f51_T.377,f51_T.126944,f51_FD,f51_H,f51_REST
10/20/24 19:51:04.660 [151.244.203.204:53598 1 wey] [Router] get_role:
10/20/24 19:51:04.660 [151.244.203.204:53598 1 wey] [Vary] role id: failed, guest
10/20/24 19:51:04.660 [151.244.203.204:53598 1 wey] [Router] get_role:
10/20/24 19:51:04.660 [151.244.203.204:53598 1 wey] [Core] CHK html bypass: miss footer const
10/20/24 19:51:04.661 [151.244.203.204:53598 1 wey] [Core] run hook litespeed_buffer_finalize
10/20/24 19:51:04.661 [151.244.203.204:53598 1 wey] [Core] Silence Comment due to REST/AJAX
10/20/24 19:51:04.661 [151.244.203.204:53598 1 wey] Response headers --- array (
0 => 'Access-Control-Allow-Origin: https://www.example.com',
1 => 'Access-Control-Allow-Credentials: true',
2 => 'X-Robots-Tag: noindex',
3 => 'X-Content-Type-Options: nosniff',
4 => 'Referrer-Policy: strict-origin-when-cross-origin',
5 => 'X-Frame-Options: SAMEORIGIN',
6 => 'Content-Type: application/json; charset=UTF-8',
7 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
8 => 'X-LiteSpeed-Cache-Control: no-cache',
9 => 'Cache-Control: no-cache, no-store, must-revalidate, max-age=0',
10 => 'X-LiteSpeed-Purge: public,stale,f51_Po.326337,f51_URL./lies-of-p-ps5-326337.html/,f51_W.recent-posts-1,f51_Po.44544,f51_Po.336138,f51_T.126940,f51_T.121080,f51_T.126936,f51_T.121082,f51_T.126942,f51_T.126922,f51_T.127168,f51_T.377,f51_T.126944,f51_FD,f51_H,f51_REST',
)
10/20/24 19:51:04.661 [151.244.203.204:53598 1 wey] End responseAfter disabling the WPDiscuz plugin no more purge logs are generated besides the default WP comment ones which get triggered every time someone comments on a post:
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] Query String:
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] HTTP_REFERER: https://www.example.com/post1.html
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit...
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] Accept: */*
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] Accept Encoding: gzip, deflate, br, zstd
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] Cookie _lscache_vary: commenter
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] X-LSCACHE: true
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] LSCACHE_VARY_VALUE: +IR
10/21/24 12:55:12.624 [178.131.96.113:15402 1 Z5F] X-LiteSpeed-Purge: public,stale,f51_Po.303052,f51_URL./post1.html/,f51_W.recent-posts-1,f51_Po.311859,f51_T.121099,f51_T.121080,f51_T.121098,f51_T.121081,f51_T.127120,f51_T.377,f51_T.2123,f51_T.127121,f51_T.13705,f51_FD,f51_H,f51_REST => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
/home/xxx/public_html/wp-includes/load.php@517But even after disabling the WP Discuz plugin, after 1 to2 hours (or 6 hours if I purge all the cache beforehand), every crawled post —regardless of whether there are only 10 or 2,000 posts being cached — still changes from “x-litespeed-cache: hit” to “x-litespeed-cache: miss,” without any purge logs being generated.
The only logs still being generated are primarily these two which are no purge logs. The first log is getting generated every time a non-cached post is being opened by a browser, the second one is generated when a cached post is being opened by a browser:
10/21/24 13:56:54.859 [5.161.155.198:44600 1 hND] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/21/24 13:56:54.859 [5.161.155.198:44600 1 hND] Query String: action=ai_ajax&ip-data=ip-address-country-city
10/21/24 13:56:54.859 [5.161.155.198:44600 1 hND] HTTP_REFERER: https://www.example.com/post1.html
10/21/24 13:56:54.859 [5.161.155.198:44600 1 hND] User Agent: Mozilla/5.0 (Linux; Android 8.0.0; SM-G955U Build/R16...
10/21/24 13:56:54.859 [5.161.155.198:44600 1 hND] Accept: */*
10/21/24 13:56:54.859 [5.161.155.198:44600 1 hND] Accept Encoding: gzip, deflate, br, zstd
10/21/24 13:56:54.859 [5.161.155.198:44600 1 hND] X-LSCACHE: true
10/21/24 13:56:54.859 [5.161.155.198:44600 1 hND] LSCACHE_VARY_VALUE: +ismobile
10/21/24 13:56:55.025 [5.161.155.198:44600 1 hND] [Ctrl] X Cache_control -> stale
10/21/24 13:56:55.038 [5.161.155.198:44600 1 hND] [Media] init
10/21/24 13:56:55.039 [5.161.155.198:44600 1 hND] [LQIP] init
10/21/24 13:56:55.039 [5.161.155.198:44600 1 hND] [CDN] init
10/21/24 13:56:55.039 [5.161.155.198:44600 1 hND] ? Init
10/21/24 13:56:55.040 [5.161.155.198:44600 1 hND] [Router] LSCWP_CTRL bypassed empty
10/21/24 13:56:55.156 [5.161.155.198:44600 1 hND] ?? [Tag] Add --- HTTP.200
10/21/24 13:56:55.156 [5.161.155.198:44600 1 hND] [Core] CHK html bypass: miss footer const
10/21/24 13:56:55.158 [5.161.155.198:44600 1 hND] [Ctrl] not cacheable before ctrl finalize
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Router] get_role:
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Vary] role id: failed, guest
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Router] get_role:
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Vary] no custimzed vary
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] ?? X-LiteSpeed-Cache-Control: no-cache
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] ?? Cache-Control: no-cache, no-store, must-revalidate, max-age=0
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Router] get_role:
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Vary] role id: failed, guest
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Router] get_role:
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Core] CHK html bypass: miss footer const
10/21/24 13:56:55.159 [5.161.155.198:44600 1 hND] [Core] run hook litespeed_buffer_finalize
10/21/24 13:56:55.160 [5.161.155.198:44600 1 hND] [Core] Silence Comment due to REST/AJAX
10/21/24 13:56:55.160 [5.161.155.198:44600 1 hND] Response headers --- array (
0 => 'Access-Control-Allow-Origin: https://www.example.com',
1 => 'Access-Control-Allow-Credentials: true',
2 => 'Content-Type: text/html; charset=UTF-8',
3 => 'X-Robots-Tag: noindex',
4 => 'X-Content-Type-Options: nosniff',
5 => 'Referrer-Policy: strict-origin-when-cross-origin',
6 => 'X-Frame-Options: SAMEORIGIN',
7 => 'X-LiteSpeed-Tag: f51_HTTP.200',
8 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
9 => 'X-LiteSpeed-Cache-Control: no-cache',
10 => 'Cache-Control: no-cache, no-store, must-revalidate, max-age=0',
)
10/21/24 13:56:55.160 [5.161.155.198:44600 1 hND] End response10/21/24 13:57:44.697 [5.161.155.198:57386 1 exf] ?? ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/21/24 13:57:44.697 [5.161.155.198:57386 1 exf] Query String: action=ai_ajax&ip-data=ip-address-country-city
10/21/24 13:57:44.697 [5.161.155.198:57386 1 exf] HTTP_REFERER: https://www.example.com/post1.html
10/21/24 13:57:44.697 [5.161.155.198:57386 1 exf] User Agent: Mozilla/5.0 (Linux; Android 8.0.0; SM-G955U Build/R16...
10/21/24 13:57:44.697 [5.161.155.198:57386 1 exf] Accept: */*
10/21/24 13:57:44.697 [5.161.155.198:57386 1 exf] Accept Encoding: gzip, deflate, br, zstd
10/21/24 13:57:44.697 [5.161.155.198:57386 1 exf] X-LSCACHE: true
10/21/24 13:57:44.697 [5.161.155.198:57386 1 exf] LSCACHE_VARY_VALUE: +ismobile- This reply was modified 1 month ago by David.
wpdiscuz/utils/class.WpdiscuzHelperOptimization.phpit looks like wp discuz did the purge , I assume something like a new comment is posted ?
It seems so, but the problem isn’t the wp discuz plugin anymore, since i have disabled it yesterday as i explained above and still all of my cached pages turnes from hit to miss
- This reply was modified 1 month ago by David.
For example, I just opened this specific post that was cached 2 hours ago, and it has changed from “x-litespeed-cache: hit” to “x-litespeed-cache: miss” without any purge log being generated in the last 2 hours:
This is the debug log:
10/21/24 15:43:30.444 [5.161.120.159:34534 1 J4A] ?? ——POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
10/21/24 15:43:30.444 [5.161.120.159:34534 1 J4A] Query String: action=ai_ajax&ip-data=ip-address-country-city
10/21/24 15:43:30.444 [5.161.120.159:34534 1 J4A] HTTP_REFERER: https://www.example.com/post-24958.html
10/21/24 15:43:30.444 [5.161.120.159:34534 1 J4A] User Agent: Mozilla/5.0 (Linux; Android 8.0.0; SM-G955U Build/R16…
10/21/24 15:43:30.444 [5.161.120.159:34534 1 J4A] Accept: /
10/21/24 15:43:30.444 [5.161.120.159:34534 1 J4A] Accept Encoding: gzip, deflate, br, zstd
10/21/24 15:43:30.444 [5.161.120.159:34534 1 J4A] X-LSCACHE: true
10/21/24 15:43:30.444 [5.161.120.159:34534 1 J4A] LSCACHE_VARY_VALUE: +ismobile
10/21/24 15:43:30.641 [5.161.120.159:34534 1 J4A] [Ctrl] X Cache_control -> stale
10/21/24 15:43:30.655 [5.161.120.159:34534 1 J4A] [Media] init
10/21/24 15:43:30.656 [5.161.120.159:34534 1 J4A] [LQIP] init
10/21/24 15:43:30.656 [5.161.120.159:34534 1 J4A] [CDN] init
10/21/24 15:43:30.657 [5.161.120.159:34534 1 J4A] ? Init
10/21/24 15:43:30.657 [5.161.120.159:34534 1 J4A] [Router] LSCWP_CTRL bypassed empty
- You must be logged in to reply to this topic.