Title: When full cache is cleared?
Last modified: April 24, 2024

---

# When full cache is cleared?

 *  Resolved [Bruno Cantuaria](https://wordpress.org/support/users/cantuaria/)
 * (@cantuaria)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/)
 * Hello,
 * At our website, we’ve removed full cache clear in all options, but sometimes 
   we catch a Full Cache clear and we’re not sure from where it’s being issued.
 * Does Litespeed have a log specific for registering when cache is cleared? Also,
   does updating a profile causes the full cache clear? Finally, if you can provide
   a list of when cache is fully cleared by default, and how to disable those cases,
   we’ll appreciate.
 * Thanks!

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

 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/#post-17713020)
 * Hello
   Purge logs are logged. Follow these steps:
    - First you need to turn `ON` `Debug Log` and set `Debug Level` to `Advanced`
      from page: `/wp-admin/admin.php?page=litespeed-toolbox#settings-debug`
    - Then go to: `/wp-admin/admin.php?page=litespeed-toolbox#log_viewer` by clicking
      on `[B] Purge Log`
 * Hope this helps you!
   If you need more info, you can write here
 * Thank you!
 *  Thread Starter [Bruno Cantuaria](https://wordpress.org/support/users/cantuaria/)
 * (@cantuaria)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/#post-17716538)
 * Thanks, I’ll monitor the log.
 * Meanwhile, can you check if updating a profile will clear All the cache? It seems
   so.
 * Is there a way to disable ALL cache purge? I want to programatically chose what
   and when to clear.
 *  Thread Starter [Bruno Cantuaria](https://wordpress.org/support/users/cantuaria/)
 * (@cantuaria)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/#post-17716654)
 * Additional note:
 * Here’s an entry from the Purge Log:
 *     ```wp-block-code
       04/26/24 15:41:35.969 [**masked** 1 Kgp] 💓 ------POST HTTP/1.1 (HTTPS) /wp-json/wp/v2/posts/601385
       04/26/24 15:41:35.969 [**masked** 1 Kgp] Query String: _locale=user
       04/26/24 15:41:35.969 [**masked** 1 Kgp] HTTP_REFERER: https://www.**masked**/wp-admin/post.php?post=601385&action=edit
       04/26/24 15:41:35.969 [**masked** 1 Kgp] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
       04/26/24 15:41:35.969 [**masked** 1 Kgp] Accept: application/json, */*;q=0.1
       04/26/24 15:41:35.969 [**masked** 1 Kgp] Accept Encoding: gzip, br
       04/26/24 15:41:35.969 [**masked** 1 Kgp] Cookie _lscache_vary: admin_bar:1;guest_mode:1;logged-in:1;role:50
       04/26/24 15:41:35.969 [**masked** 1 Kgp] X-LSCACHE: true
       04/26/24 15:41:35.969 [**masked** 1 Kgp] X-LiteSpeed-Purge: public,stale,482_Po.601385,482_URL./**masked**/,482_Po.601376,482_Po.601391,482_T.1,482_T.41016,482_FD,482_A.103,482_F,482_H,482_REST,482_URL./,482_URL./noticias/ => LiteSpeed\LSC->send_headers()@620 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>
       /home/admin/domains/**masked**/public_html/wp-includes/load.php@517
       ```
   
 * Let me know if I’m reading it correctly:
 * A POST request to /wp-json/ from the post.php admin page, issued a Cache Purge.
   But what was purged? I assume this was triggered when saving post, correct?
 * Anyway, I want full control of cache purging, because this is a site with big
   audience and multiple authors updating a lot of stuff every minute, and I’m seeing
   full cache being purged at least twice per hour.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/#post-17716687)
 * [@cantuaria](https://wordpress.org/support/users/cantuaria/) 
   A few instances
   where **all** cache is purged:– when some LSCWP settings are saved(changed)– 
   on plugin/theme updates(this can be disabled from: LSCWP->Cache->Purge->**Purge
   All On Upgrade**)– Other plugins/themes that need cache clear at some point( 
   Avada, Beaver builder, Autoptimize, etc)
 * But there are situations where part of cache is cleared(post update/edit/delete).
 * If you can tell, why do you need the clear cache to be so controlled?
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/#post-17716835)
 * You are correct. That was a clear cache, but it cleared public cache, stalled
   cache and some tags: `X-LiteSpeed-Purge: public,stale,482_Po.601385,482_URL./**
   masked**/,482_Po.601376,482_Po.601391,482_T.1,482_T.41016,482_FD,482_A.103,482_F,
   482_H,482_REST,482_URL./,482_URL./noticiasv`
 *  Thread Starter [Bruno Cantuaria](https://wordpress.org/support/users/cantuaria/)
 * (@cantuaria)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/#post-17719012)
 * Thanks, that was clarifying. I guess I tracked and deactivated every place where
   the full page cache was triggered. I’ve also disabled the crawler, I guess that
   for a news website with thousands of posts, it doesn’t make sense, it also helped
   reducing server usage.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/#post-17720694)
 * Also there is cache delete when a post is edited/added/deleted.

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

The topic ‘When full cache is cleared?’ is closed to new replies.

 * ![](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/)

 * 7 replies
 * 2 participants
 * Last reply from: [litetim](https://wordpress.org/support/users/litetim/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/when-full-cache-is-cleared/#post-17720694)
 * Status: resolved