This is a beta release of documentation for Magento 2.4, published for previewing soon-to-be-released functionality. Content in this version is subject to change. Links to the v2.4 code base may not properly resolve until the code is officially released.

Configure Redis

Redis features include:

  • Redis can also be used for PHP session storage.

  • The backend supports tag-based cache cleanup without foreach loops.

  • Redis supports on-disk save and master/slave replication.

Starting in Magento 2.0.6, you can use either Redis or memcached for session storage. Earlier issues with the Redis session handler and session locking have been resolved.

Install Redis

Installing and configuring the Redis software is beyond the scope of this guide. Consult resources such as:

For more information

You can find more information about configuring Redis from the following: