Drupal 8

A collection of 2 post

Use Redis to speed up your Drupal site

Install PhpRedis extension Require Drupal Redis module Configure Drupal settings To get Redis works with your Drupal site, you need to modify your site’s according to below. Use redis for container cache The container cache is used to load the container definition itself, and thus any configuration…

Drupal 8: Use database replica as entity query target

In our latest project, we’ve already configured primary/replica database configuration. You can visit https://www.drupal.org/docs/8/api/database-api/database-configuration if you haven’t set it up yet. Now we can target those replica(s) when makes a query in our custom code. But what about query in…