Title: Do not cache groups Object caching
Last modified: February 3, 2022

---

# Do not cache groups Object caching

 *  Resolved [handig](https://wordpress.org/support/users/handig/)
 * (@handig)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/do-not-cache-groups-object-caching/)
 * Hi,
    Litespeed is great. Trying to understand object caching. What happens if
   I add post_meta and posts to the do not cache groups?
 * I had to add those groups because I got some fatal errors with Memcached object
   caching:
    PHP Fatal error: Uncaught Error: Cannot use object of type stdClass
   as array in /home/ They disappeared when I switched off object caching.
 * Then I added posts and post_meta to the do not cache groups following the recommendation
   here: [https://docs.litespeedtech.com/lscache/lscwp/cache/#object-tab](https://docs.litespeedtech.com/lscache/lscwp/cache/#object-tab).
   Seems to work.
 * But I was wondering on what is getting cached and what not now that I have this
   setting. I think adding posts to do not cache measn that posts aren’t cached 
   in the object caching. But images in those posts? Will they be cached or not 
   cached when I add posts to the do not cache groups. And if not, what is the use
   of object caching when I exclude posts from it?

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

 *  [serpentdriver](https://wordpress.org/support/users/serpentdriver/)
 * (@serpentdriver)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/do-not-cache-groups-object-caching/#post-15323737)
 * Do you have Memcached installed?
 * See also:
    [https://docs.litespeedtech.com/lscache/lscwp/cache/#method](https://docs.litespeedtech.com/lscache/lscwp/cache/#method)
 * [https://docs.litespeedtech.com/lscache/lscwp/cache/#browser-tab](https://docs.litespeedtech.com/lscache/lscwp/cache/#browser-tab)
    -  This reply was modified 4 years, 3 months ago by [serpentdriver](https://wordpress.org/support/users/serpentdriver/).
    -  This reply was modified 4 years, 3 months ago by [serpentdriver](https://wordpress.org/support/users/serpentdriver/).
 *  Thread Starter [handig](https://wordpress.org/support/users/handig/)
 * (@handig)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/do-not-cache-groups-object-caching/#post-15333985)
 * I have Memcached installed and added add post_meta and posts to the do not cache
   groups.
 * But keep getting notices in my debug log. So I’m going to add users and user_meta.
   But I’m trying to understand how it works?
 * If adding ‘posts’ to the ‘do not cache groups’ means that memcached isn’t used
   for posts, what is the use of enabling memcached at all?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/do-not-cache-groups-object-caching/#post-15334161)
 * there was a rare issue between PHP extension and SASL , the post/post_meta object
   got changed during save/retrieve operation
 * in this kind of case, suggest to use Redis as alternative if you want to keep
   cache post/post_meta group
 *  Thread Starter [handig](https://wordpress.org/support/users/handig/)
 * (@handig)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/do-not-cache-groups-object-caching/#post-15334372)
 * Host doesn’t have Redis. Guess my question is as follow.
 * If I do not object cache for for posts, post_meta, users and user_meta, does 
   it have an added value to enable Memcached?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/do-not-cache-groups-object-caching/#post-15334376)
 * Hi,
 * I can’t say , it depends how your site is , what’s the object it generates the
   most

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

The topic ‘Do not cache groups Object caching’ 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/)

## Tags

 * [caching](https://wordpress.org/support/topic-tag/caching/)

 * 5 replies
 * 3 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/do-not-cache-groups-object-caching/#post-15334376)
 * Status: resolved