Title: how to avoid cache purge
Last modified: August 28, 2026

---

# how to avoid cache purge

 *  [edmundspriede](https://wordpress.org/support/users/edmundspriede/)
 * (@edmundspriede)
 * [1 week ago](https://wordpress.org/support/topic/how-to-avoid-cache-purge/)
 * Version 7.9 
   hey, i have been seeing this for years. i cannot disable cache purges.
   i want to do it manually.
 * i still get purge on any plugin update, but it is switced off .
 * why so hard to bypass purges ?

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 days, 21 hours ago](https://wordpress.org/support/topic/how-to-avoid-cache-purge/#post-19006469)
 *     ```wp-block-code
       add_filter('litespeed_purge_tags', function($purge_tags, $is_private) {    if (isset($_SERVER['REQUEST_URI']) && strpos($_SERVER['REQUEST_URI'], 'LSCWP_CTRL=purge') !== false) {        do_action('litespeed_debug2', 'Preserve manual purge action');        return $purge_tags;    }    return ['_nothing'];}
       ```
   
 * please try this code snippet, it should suppress any and all automated purges

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhow-to-avoid-cache-purge%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 days, 21 hours ago](https://wordpress.org/support/topic/how-to-avoid-cache-purge/#post-19006469)
 * Status: not resolved