Hello,
Thank you for reaching out and I am happy to answer your question.
For most users, dedicated and VPS included the W3 Total Cache Disk: Enhanced caching method is recommended. It serves cached pages using the server’s URL rewriting capabilities, skipping PHP and WordPress entirely.
If you, however, want to store the cache in the database you can use Redis or Memcached.
I hope this helps!
Thanks!