Title: Database cache crashing site
Last modified: April 29, 2024

---

# Database cache crashing site

 *  Resolved [nlarenas](https://wordpress.org/support/users/nlarenas/)
 * (@nlarenas)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/database-cache-crashing-site/)
 * Hi! Recently I move my site to a VPS server, and after enabling W3T with database
   cache the site crashes showing 500 error.
 * Any advice?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-cache-crashing-site%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/database-cache-crashing-site/#post-17723939)
 * Hello [@nlarenas](https://wordpress.org/support/users/nlarenas/)
 * Thank you for reaching out and I am happy to help!
   Can you please sahre which
   caching method you used fror Database Cache? Also, have you run the Setup guide
   in Performance>Setup Guide and see the results for the DB caching with the available
   cahcing methods?
 * Thanks!
 *  Thread Starter [nlarenas](https://wordpress.org/support/users/nlarenas/)
 * (@nlarenas)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/database-cache-crashing-site/#post-17726111)
 * Thank you for getting back to me. Im using disk for database cache, is the only
   option I get. Right now I had to disable W3, the site got slower with it when
   enable 🙁
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/database-cache-crashing-site/#post-17726412)
 * Hello [@nlarenas](https://wordpress.org/support/users/nlarenas/)
 * Thank you for your feedback.
   Using Disk caching method for Database caching is
   not recommended. Since you are on VPS, I would recommend you to install Redis
   or memcached php module and use this for DB and/or Object Caching instead.
 * Using memory-based caching for Database and object caching is recommended, since
   fetching data from the database is faster than caching and fetching it from the
   disk.
 * Also, make sure to run the setup guide in Performance>Setup guide
 * Let me know if this helps!
 * Thank you!
 *  Thread Starter [nlarenas](https://wordpress.org/support/users/nlarenas/)
 * (@nlarenas)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/database-cache-crashing-site/#post-17726461)
 * Thank you, I will give it a try with memcached and will come back in case of 
   more help needed :D. So far the setup guide is showing longer times if I use 
   memcached.
    -  This reply was modified 2 years, 1 month ago by [nlarenas](https://wordpress.org/support/users/nlarenas/).
    -  This reply was modified 2 years, 1 month ago by [nlarenas](https://wordpress.org/support/users/nlarenas/).

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

The topic ‘Database cache crashing site’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [nlarenas](https://wordpress.org/support/users/nlarenas/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/database-cache-crashing-site/#post-17726461)
 * Status: resolved