What is the best caching solution for website with a lot of content?

by pbonnefoi   Last Updated November 13, 2017 09:07 AM

We are building a website with over a million nodes. Those nodes also have paragraphs which increases the number of entities. Therefore, the cache tables are getting bigger and bigger, especially the cache_entity and cache_render tables.

What is the best way to avoid the database to get too big (we're talking hundred of gigabytes) ? Is memcache a solution here or is it just deporting the problem of disk space ?

The basic cron task doesn't clear the tables. We were also thinking about setting a cron task to execute "drush cr".

According to that post and that issue, Drupal 8.4 will have a better cache table management.

Tags : 8 caching memcache


Related Questions


Memcache do cache_pages?

Updated February 16, 2016 16:03 PM


How to exclude a cache table from memcache?

Updated December 30, 2016 08:03 AM

Sessions and cookies doesn't work on <front> page

Updated March 27, 2017 12:07 PM