Title: Understanding Database Cache and Object Cache
Last modified: May 30, 2023

---

# Understanding Database Cache and Object Cache

 *  Resolved [industrialmarketing](https://wordpress.org/support/users/industrialmarketing/)
 * (@industrialmarketing)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/understanding-database-cache-and-object-cache/)
 * Hi. We used a fully managed shared server and I have just installed W3 Total 
   Cache on many of the websites we manage. I am struggling to understand fully 
   about Database Cache and Object Cache and my question is this:
 * When testing Database Cache and Object Cache, if “Disk” is faster than “none”,
   should I select it?
 * Thanks very much

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/understanding-database-cache-and-object-cache/#post-16780032)
 * Hello [@industrialmarketing](https://wordpress.org/support/users/industrialmarketing/)
 * Thank you for reaching out and I am happy to assist you with this.
 * Generally speaking, it’s not recommended to use DB caching or Object Caching 
   when the only available caching method is Disk. This depends on various things,
   like the size of the website and the database/objects used.
 * For example, for ecommerce websites, it’s recommended to use memory-based caching
   for OC and DB caching, and avoid caching to disk, due to the heavy load that 
   may cause problems with the server resources.
 * If you have a small/medium website, you can use caching to Disk however, it may
   not impact the speed very much.
 * I hope this helps!
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Understanding Database Cache and Object 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/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/understanding-database-cache-and-object-cache/#post-16780032)
 * Status: resolved