Title: Page Cache &amp; DB Cache
Last modified: March 29, 2020

---

# Page Cache & DB Cache

 *  Resolved [mariusmrs](https://wordpress.org/support/users/mariusmrs/)
 * (@mariusmrs)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/page-cache-db-cache/)
 * Hello guys,
 * Let me tell you this is the best plugin i used. (better that the paid ones).
 * But, i need some help, if you may and want to tell me.
 * I am using page cache and db cache, on a dedicated server with 32GB RAM / 4 core
   i7, for a website with 100k daily unique visitors and aprox 1500-2000 online 
   users.
 * So, i’ve set memcached on 2GB cachesize and 2000max connections.
 * But is it for the best to use memcached for page cache? For database works well,
   curently i’m using page cache disk enhanced and database memcached, if i put 
   page cache on memcached the site is faster, but is it ok for that ammount of 
   traffic?
 * I mean, if it reaches 2gb cache size it will crash or something?
 * Thanks!

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

 *  Thread Starter [mariusmrs](https://wordpress.org/support/users/mariusmrs/)
 * (@mariusmrs)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/page-cache-db-cache/#post-12599378)
 * Also, i’ve found a bug.
    When using memcached on page cache, even if i deleted
   last modifed from the list. It still caches the last modified tag. Can that be
   resolved somehow?
 * Thanks.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/page-cache-db-cache/#post-12601141)
 * Hello [@mariusmrs](https://wordpress.org/support/users/mariusmrs/)
 * Thank you for the inquiry and I am happy to assist you with this.
    AS Memory 
   based caching is more beneficial to use with DB/object caching, it is not necessarily
   so with Page Cache. Memcached is assigned a specific amount of memory. Disk cache,
   on the other hand, is managed by the OS and uses as much free memory as is available
   on the server. This is both good and bad, depending on how much memory is available,
   and how well behaved the applications on that server are. For example, you might
   give Memcached 2 GB of memory, but the OS might have 26 GB of free memory. The
   OS will use that 26 GB to cache disk access (read and write), not just of the
   files in your cache directory, but of all frequently accessed files. Either way,
   you should test bot and see how it works for you. Thank you!
 *  Thread Starter [mariusmrs](https://wordpress.org/support/users/mariusmrs/)
 * (@mariusmrs)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/page-cache-db-cache/#post-12602786)
 * Hello,
 * I’ve testet memcached, and it’s alot faster, alot alot. But i’m afraid to use
   it because i have big traffic and i don’t know if it’s safe. I gived 4gb to memcached
   from the RAM.
 * But, if you can check that error please, even if i deleted Last-Modified from
   headers to cache, it still cache that tag.

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

The topic ‘Page Cache & DB 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

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

 * 3 replies
 * 2 participants
 * Last reply from: [mariusmrs](https://wordpress.org/support/users/mariusmrs/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/page-cache-db-cache/#post-12602786)
 * Status: resolved