This blog post about Redis implementation on a Drupal 7 website is written by our guest blogger and Drupal addict Bas Vredeling (codeculture.nl). He wrote and published a short dutch tutorial on how to configure Redis cache on a Drupal 7 site on our hosting platform. backlink
Hosting provider Byte has implemented a caching service Redis. Cache is served directly from memory and therefore much faster than Drupal native file cache or database caching methods. Redis can be compared with other caching mechanisms such as Memcache and APC.
Installation and configuration of Redis on a Drupal 7 based website is a piece of cake. Follow the steps below and you’ll be an active user of Redis in no time. You’ll gain significant speed boost for requests in cache. A quick benchmark showed me 20% speed improvement for anonymous visitors. When you’re going to cache specific Drupal blocks even your logged in users might profit from these speed improvements.
Here’s how to install Redis on Drupal 7 at Byte:
- download and install Redis module https://drupal.org/project/redis. I prefer
- when using Redis from Byte you’ll receive server name, port and password. You’ll need them in the configuration of Redis. These settings can be found on the Redis page of Byte control panel.
- change settings.php of the website you’re activating Redis on. Mostly it’s
- add the following lines at the bottom of settings.php:
Meer lezen over Redis: