Title: Server Load when flush cache
Last modified: January 18, 2023

---

# Server Load when flush cache

 *  Resolved [spiralas](https://wordpress.org/support/users/spiralas/)
 * (@spiralas)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/server-load-when-flush-cache/)
 * Hello i install the plugin with **Version:** 2.2.3
 * When i flush cahe the load of the server is very high for two – three minutes
   and the site is not accessible … In metrics –>calls i see 3.500 calls
 * How can i fix this?

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

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/server-load-when-flush-cache/#post-16386565)
 * What’s your config like, do you use selective flushing (it’s stupid slow)?
 *  Thread Starter [spiralas](https://wordpress.org/support/users/spiralas/)
 * (@spiralas)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/server-load-when-flush-cache/#post-16386579)
 * Yes i use selective flushing
 * the configuration is
 * define( ‘WP_CACHE’, true ); // Added by WP Rocket
   define( ‘WP_REDIS_HOST’, ‘127.0.0.1’);
   define( ‘WP_REDIS_PORT’, ‘6379’ );define( ‘WP_REDIS_DATABASE’, 33 );define(‘WP_REDIS_PASSWORD’,‘
   xxxxxx’);define( ‘WP_CACHE_KEY_SALT’, ‘xssxsx’);define( ‘WP_REDIS_SELECTIVE_FLUSH’,
   true);
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/server-load-when-flush-cache/#post-16387150)
 * `WP_REDIS_SELECTIVE_FLUSH` is slow AF and a terrible feature that I wish I never
   merged, better to use dedicated `WP_REDIS_DATABASE` for each site.
 *  Thread Starter [spiralas](https://wordpress.org/support/users/spiralas/)
 * (@spiralas)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/server-load-when-flush-cache/#post-16388598)
 * how can i exclude one plugin form redis cache?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/server-load-when-flush-cache/#post-16390438)
 * By adding the cache groups that plugin uses to the list of ignored cache groups.

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

The topic ‘Server Load when flush cache’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/server-load-when-flush-cache/#post-16390438)
 * Status: resolved