Title: WP Query object cache?
Last modified: July 11, 2023

---

# WP Query object cache?

 *  Resolved [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-query-object-cache/)
 * Hi there,
 * When I use object cache on my website (in my case, I’m on SiteGround, so I use
   Memcached) the plugin stops working correctly. More specifically: I reorder some
   posts, reload the page, and the posts are back in their original order.
 * As soon as I turn Memcached off, the problem is gone.
 * This probably happens because `WP_Query` caches results in object cache. And 
   the plugin does not seem to invalidate this cache properly, see [https://github.com/ColorlibHQ/simple-custom-post-order/issues/115](https://github.com/ColorlibHQ/simple-custom-post-order/issues/115).
 * For more details on the `WP_Query` cache implementation (which was added in WP
   6.1) see [https://make.wordpress.org/core/2022/10/07/improvements-to-wp_query-performance-in-6-1/](https://make.wordpress.org/core/2022/10/07/improvements-to-wp_query-performance-in-6-1/).
 * Is it possible for you guys to fix this?
 * Thanks in advance!
    -  This topic was modified 2 years, 10 months ago by [Devomo](https://wordpress.org/support/users/devfirst/).

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

 *  Plugin Support [beatrice12](https://wordpress.org/support/users/beatrice12/)
 * (@beatrice12)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-query-object-cache/#post-16888491)
 * Hello [@devfirst](https://wordpress.org/support/users/devfirst/),
 * Thanks for reaching out to us!
 * I went ahead and opened a ticket with our development team regarding this issue
   and we will take a closer look into it. Here you can follow the progress: [https://github.com/ColorlibHQ/simple-custom-post-order/issues/124](https://github.com/ColorlibHQ/simple-custom-post-order/issues/124)
 * Warm regards,
 * Beatrice.
 *  Thread Starter [Devomo](https://wordpress.org/support/users/devfirst/)
 * (@devfirst)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/wp-query-object-cache/#post-16891647)
 * Hi [@beatrice12](https://wordpress.org/support/users/beatrice12/),
 * Thanks for the response, and for opening the issue 🙂
 * Let me know if I can help in any way.
 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/wp-query-object-cache/#post-16962051)
 * This topic will be marked as resolved due to inactivity and because we have an
   open ticket on GitHub regarding this. Please keep in mind that the ‘resolved’
   status is only for this support thread, not the issue on GitHub.
 * Thank you so much for your help!

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

The topic ‘WP Query object cache?’ is closed to new replies.

 * ![](https://ps.w.org/simple-custom-post-order/assets/icon-256x256.jpg?rev=2969435)
 * [Simple Custom Post Order](https://wordpress.org/plugins/simple-custom-post-order/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-custom-post-order/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-custom-post-order/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-custom-post-order/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-custom-post-order/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-custom-post-order/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Miha](https://wordpress.org/support/users/mplusb/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/wp-query-object-cache/#post-16962051)
 * Status: resolved