Title: Query Loop Not Cache
Last modified: October 25, 2022

---

# Query Loop Not Cache

 *  Resolved [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/query-loop-not-cache/)
 * It seems weird but lately query loop widget by GenerateBlocks plugin and latest
   posts widget by WordPress which I put under the sidebar is causing a high load
   on my server.
 * When I remove it, the server load is back to normal. I was using Memcache on 
   page cache, database cache and object cache for a very long time already. I just
   encounter this problem two days ago.
 * I tried adding query loop widget alone or latest posts widget alone but they’re
   having the same problem.
 * When I look at the page source, it looks like it’s working perfectly.
 *     ```
       <!--
       Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/
   
       Object Caching 838/1034 objects using Memcached
       Page Caching using memcached 
       Lazy Loading
       Database Caching 56/77 queries in 1.896 seconds using memcached
   
       Served from: mysite.com @ 2022-10-25 22:41:25 by W3 Total Cache
       -->
       ```
   
 * I can’t understand where am I missing. It’s working perfect before.

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/query-loop-not-cache/#post-16132976)
 * Hello [@jaypabs](https://wordpress.org/support/users/jaypabs/)
 * Thank you for reaching out and I am happy to assist you with this.
    Does the 
   same issue persists if you disable the W3 Total Cache? Thanks!
 *  Thread Starter [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/query-loop-not-cache/#post-16134181)
 * Hi,
 * I did not disable W3TC. If I will, my site will be down within few minutes.
 * I am thinking that this is an error with the Memcached server also.
 * Please see image here:
    [https://i.ibb.co/MpPTsqg/phpmemcachedadmin.jpg](https://i.ibb.co/MpPTsqg/phpmemcachedadmin.jpg)
 * There’s a high memory wasted. Don’t know how to fix it either.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/query-loop-not-cache/#post-16135628)
 * Hello [@jaypabs](https://wordpress.org/support/users/jaypabs/)
 * Thank you for your feedback.
    Have you tried flushing the Memcached and possibly
   restarting the Memcached server? Thanks!
 *  Thread Starter [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/query-loop-not-cache/#post-16135640)
 * Yes, I already restarted Memcached many times.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/query-loop-not-cache/#post-16136441)
 * Hello [@jaypabs](https://wordpress.org/support/users/jaypabs/)
 * Thank you for your feedback.
    The only thing that may be causing this is the 
   limited resources on your server and increased traffic or content. Check the 
   Memcached server: memcached-tool 127.0.0.1:11211 memcached-tool 127.0.0.1:11211
   stats And see if you are hitting the limit of the available memory. If so, you
   should increase the allocated memory. Alternatively, you can try Redis which 
   automatically uses half of the available memory.
 * Thanks!

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

The topic ‘Query Loop Not Cache’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/query-loop-not-cache/#post-16136441)
 * Status: resolved