Title: Object cache ignores the group parameter
Last modified: July 3, 2023

---

# Object cache ignores the group parameter

 *  Resolved [ethereumicoio](https://wordpress.org/support/users/ethereumicoio/)
 * (@ethereumicoio)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/object-cache-ignores-the-group-parameter/)
 * As a result, caches are flushed almost instantly after being set.
 * The file affected: ObjectCache_WpObjectCache_Regular.php
 * Plugin version: 2.3.3
 * The patch:
 *     ```wp-block-code
       153c153
       < 			$v = $cache->get( $key );
       ---
       > 			$v = $cache->get( $key, $group );
       293c293
       < 				( $expire ? $expire : $this->_lifetime ) );
       ---
       > 				( $expire ? $expire : $this->_lifetime ), $group );
       351c351
       < 			$return = $cache->delete( $key );
       ---
       > 			$return = $cache->delete( $key, $group );
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fobject-cache-ignores-the-group-parameter%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/object-cache-ignores-the-group-parameter/#post-16865882)
 * Hello [@ethereumicoio](https://wordpress.org/support/users/ethereumicoio/)
 * Thank you for reaching out!
 * Let me check this and I’ll get back to you once I have more information.
   Can 
   you please let me know which caching method you are using for Object Caching?
 * Thanks!
 *  Thread Starter [ethereumicoio](https://wordpress.org/support/users/ethereumicoio/)
 * (@ethereumicoio)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/object-cache-ignores-the-group-parameter/#post-16865981)
 * Sure, redis is used.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/object-cache-ignores-the-group-parameter/#post-16872589)
 * Hello [@ethereumicoio](https://wordpress.org/support/users/ethereumicoio/)
 * Thank you for your patience.
 * This is a known problem and we are working on the solution for this. I cannot
   say exactly when this will be fixed, however, thank you for taking the time to
   report this.
 * Thanks!

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

The topic ‘Object cache ignores the group parameter’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/object-cache-ignores-the-group-parameter/#post-16872589)
 * Status: resolved