Title: [Plugin: W3 Total Cache] Database caching for query_posts loop
Last modified: August 20, 2016

---

# [Plugin: W3 Total Cache] Database caching for query_posts loop

 *  [rajupp](https://wordpress.org/support/users/rajupp/)
 * (@rajupp)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-database-caching-for-query_posts-loop/)
 * Hi,
 * I plan to have a query_posts loop to pick up “n” number of posts from a pool 
   of “X” articles. But I do not want the query to be fired every time the page 
   loads. Will W3TC cache the results along with the page?
 * I believe it does. If so, which Database Cache Method should I use? I remember
   reading somewhere that Disk is not suitable for high traffic websites. Is that
   so?
 * Kindly suggest.
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [rajupp](https://wordpress.org/support/users/rajupp/)
 * (@rajupp)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-database-caching-for-query_posts-loop/#post-2972317)
 * Is it even possible to choose anything other than Disk? Other options are greyed
   out for me

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: W3 Total Cache] Database caching for query_posts loop’ 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/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [rajupp](https://wordpress.org/support/users/rajupp/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-database-caching-for-query_posts-loop/#post-2972317)
 * Status: not resolved