Auto Purge Rules For Publish – purge always executed (2)
-
Hello,
LiteSpeed Cache Settings – Purge – Auto Purge Rules For Publish/Update.
Even if all the options are unchecked, on any update of any page a purge of everything is executed. Any ideas how to fix this?
I’m using latest version of WP 6.5.3. and LiteSpeed Cache plugin for WP 6.2.0.1.?Also latest version of Polylang Pro 3.6.1.
LiteSpeed Report
Report number:?OVIFTVCS
Before logging I unchecked all the checkboxes at
LiteSpeed Cache Settings – Purge – Auto Purge Rules For Publish/Update
Debug log: https://pastebin.com/zCdSDSsE
Purge log: https://pastebin.com/8x2wbT1xThe Polylang team investigated this issue and the answer from them is:
I’ve shared the
debug.log
with my developers colleagues and they confirmed something seems to be wrong after Polylang Pro asked for flushing the cache of only 1 post.
We can read in thedebug.log
/home5/adviocz/jidlonacestach.cz/wp-content/plugins/polylang-pro/modules/sync-post/sync-post-model.php@3329 05/06/24 17:44:48.925 [217.30.64.206:61251 1 ZLC] X-LiteSpeed-Purge: public,d64_ 05/06/24 17:44:48.925 [217.30.64.206:61251 1 ZLC] Failed to flush object cache due to object cache not enabled 05/06/24 17:44:48.925 [217.30.64.206:61251 1 ZLC] Failed to reset opcode cache due to opcache not enabled 05/06/24 17:44:48.925 [217.30.64.206:61251 1 ZLC] Purge all => LiteSpeed\Root::debug( Purge all ,3)@51 => LiteSpeed\Purge->_purge_all()@212 => LiteSpeed\Purge::purge_all(954)@178 => WP_Hook->apply_filters(,ARRAY)@326
After Polylang is asking for flushing the synchronized post cache (only one post ID), we can see Lite Speed cache is flushing it entirely:
LiteSpeed\Root::debug( Purge all ,3)@51 => LiteSpeed\Purge->_purge_all()@212 => LiteSpeed\Purge::purge_all(954)@178 => WP_Hook->apply_filters(,ARRAY)@326
Would you please contact them to know on which hook they attach this
purge_all()
function ?Any idea how to fix this issue?
This is not a new problem, but I’m trying to solve it now, because I have feedback from Polylang team.
Thank you!
- The topic ‘Auto Purge Rules For Publish – purge always executed (2)’ is closed to new replies.