• Resolved edmundspr

    (@edmundspr)


    Version 7.5.0.1

    suddenly any plugin activation cause caches to be purged. i see this is log

    10/09/25 16:44:57.766 [212.142.94.235:64993 1 VD8] X-LiteSpeed-Purge: public,185_ => LiteSpeed\LSC->send_headers()@615 => WP_Hook->apply_filters(ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>

    i have disable all automatic purges. i need only manual purge

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter edmundspr

    (@edmundspr)

    sent report from simabove.com

    Thread Starter edmundspr

    (@edmundspr)

    i need only manual purge for all pages

    Plugin Support litetim

    (@litetim)

    Thread Starter edmundspr

    (@edmundspr)

    that is the problem, it is all set to off

    Plugin Support litetim

    (@litetim)

    @edmundspr please create report and share me the ID generated.
    I want to look into

    Thread Starter edmundspr

    (@edmundspr)

    ZOQHIOTL

    Plugin Support litetim

    (@litetim)

    @edmundspr
    you disabled Woocommerce purges too? like on product update. File can be fond here: \thirdparty\woocommerce.cls.php

    Also I tested on my test env but I am not able to see any purge on plugins activation/deactivation.
    I imported your settings too, but no success. Maybe i comes from other plugins.

    Thread Starter edmundspr

    (@edmundspr)

    here you can see in log that plugin activate causes purge

    Thread Starter edmundspr

    (@edmundspr)

    we disabled also woo purges

    Thread Starter edmundspr

    (@edmundspr)

    it was caused by Elementor 3rdparty code , so you shoud make it configurable.
    i even did not touch elementor plugins, it works on any plugin activate/deactivate/.

    0 /home/runcloud-clone/webapps/simabove_clone_3/wp-content/plugins/litespeed-cache/src/purge.cls.php(174): LiteSpeed\Purge->_purge_all() 1 /home/runcloud-clone/webapps/simabove_clone_3/wp-includes/class-wp-hook.php(324): LiteSpeed\Purge::purge_all() 2 /home/runcloud-clone/webapps/simabove_clone_3/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 3 /home/runcloud-clone/webapps/simabove_clone_3/wp-includes/plugin.php(517): WP_Hook->do_action() 4 /home/runcloud-clone/webapps/simabove_clone_3/wp-content/plugins/litespeed-cache/thirdparty/elementor.cls.php(54): do_action() 5 /home/runcloud-clone/webapps/simabove_clone_3/wp-includes/class-wp-hook.php(324): LiteSpeed\Thirdparty\Elementor::regenerate_litespeed_cache() 6 /home/runcloud-clone/webapps/simabove_clone_3/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /home/runcloud-clone/webapps/simabove_clone_3/wp-includes/plugin.php(517): WP_Hook->do_action()

    Plugin Support qtwrk

    (@qtwrk)

    add_action(‘elementor/core/files/clear_cache’, CLASS . ‘::regenerate_litespeed_cache’);

    that elementor celar cache action was triggered somehow , we hook into it , to make sure the elementor files are in sync to prevent 404 error or something like that

    Thread Starter edmundspr

    (@edmundspr)

    yes but there should be option so that i have full control about when to purge all.

    Plugin Support litetim

    (@litetim)

    @edmundspr
    try adding this change to Elementor thirdparty file: https://github.com/timotei-litespeed/lscache_wp/commit/0c252de6255ab369f0b2de94c010a6557a22492d
    Then add in active theme, the following code:
    add_filter('litespeed_thirdparty_elementor_purge', false);

    This is not a official fix, is just a quick solution I could think of for now.
    Please test and we might add it to a future version

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘plugin actvivation causes purge’ is closed to new replies.