• Resolved adcapaust

    (@adcapaust)


    Hello Litespeed team,

    I’ve really tried to troubleshoot this myself, however am completely stuck. Whenever i make a simple edit to a product on the woocommerce backend, litespeed is triggered to purge the entire cache. Here’s a screen recording of the issue:

    In an attempt to pin point what is causing it, I have disabled all plugins except for Litespeed and WooCommerce. I’ve also triple checked litespeed settings to ensure purge policy is restricted, and even used the toolbox to disable all features. Still the problem persists.

    Here is my Report number:?ISXPSTEY

    Here is a recent log:

    10/11/24 12:39:31.058 [120.159.100.165:55973 1 Hks] ?? ——POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
    10/11/24 12:39:31.058 [120.159.100.165:55973 1 Hks] Query String:
    10/11/24 12:39:31.058 [120.159.100.165:55973 1 Hks] HTTP_REFERER: https://mybullion.com.au/wp-admin/post.php?post=21138…
    10/11/24 12:39:31.058 [120.159.100.165:55973 1 Hks] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99,0;role_exclude_cache:1
    10/11/24 12:39:31.059 [120.159.100.165:55973 1 Hks] X-LiteSpeed-Purge: public,b57_ => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
    /home/mybullio/public_html/wp-includes/load.php@517
    10/11/24 12:39:32.535 [120.159.100.165:55973 1 RR5] ?? ——POST HTTP/1.1 (HTTPS) /wp-admin/post.php
    10/11/24 12:39:32.535 [120.159.100.165:55973 1 RR5] Query String:
    10/11/24 12:39:32.535 [120.159.100.165:55973 1 RR5] HTTP_REFERER: https://mybullion.com.au/wp-admin/post.php?post=21138…
    10/11/24 12:39:32.535 [120.159.100.165:55973 1 RR5] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99,0;role_exclude_cache:1
    10/11/24 12:39:32.535 [120.159.100.165:55973 1 RR5] LSCACHE_VARY_VALUE: +webp
    10/11/24 12:39:32.535 [120.159.100.165:55973 1 RR5] X-LiteSpeed-Purge: public,b57_WC_T.74,b57_WC_T.51,b57_WC_T.29,b57_WC_T.170,b57_WC_T.96,b57_Po.21138,b57_URL./product/engelhard-australia-5-oz-silver-bar/,b57_W.recent-posts-4,b57_FD,b57_REST => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
    /home/mybullio/public_html/wp-includes/load.php@517

    Hopefully someone can assist? Please let me know.

    Nino

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    is this log generated by single action ? I wonder where did that admin-ajax.php request come from that did purge all

    Thread Starter adcapaust

    (@adcapaust)

    Thanks qtwrk. I dug a little deeper by following this helpful guide: https://docs.litespeedtech.com/lscache/lscwp/troubleshoot/#cache-purges-too-frequently

    However, the problem persists even after implementing the recommend code to my theme’s function.php:

    if (strpos($_SERVER[‘REQUEST_URI’], “LSCWP_NONCE”) === false){ ob_start( function($buffer){ @header(‘X-LiteSpeed-Purge: nothing’); return $buffer; } ); }

    So I’ve deactivated my theme, and installed WordPress default theme Twenty Twenty Three, and the purge all cache problem stops.

    I’m now contacting my theme creator to see if they can assist.

    Thread Starter adcapaust

    (@adcapaust)

    Well after all that, it turns out it was indeed the theme.

    A reminder that if the problem persists even after disabling all plugins, try switching themes ??

    Case closed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.