Does Mirasvit Cache Warmer extension support Redis?
Yes, the Full Page Cache Warmer extensions for Magento 2 supports Redis cache and all other Magento frontend/backend cache types:
- File Cache (enabled by default)
- Redis cache
- Memcache
- APC
- Varnish cache
For all these cache types, extension can automatically check cache status and warm cache.
Redis is an open-source, in-memory data store that is widely used as a caching layer for web applications. Unlike file-based caching, which reads and writes data to disk, Redis keeps everything in RAM, allowing it to serve cached content with extremely low latency, typically in sub-millisecond response times. It supports a variety of data structures and includes built-in features like key expiration, persistence options, and memory management policies that make it well suited for caching in high-traffic environments.
When used as the full page cache backend for Magento 2, Redis stores the fully rendered HTML of your store's pages in memory. This means that when a returning visitor requests a page that has already been cached, Magento can serve the complete page directly from Redis without executing any PHP code, running database queries, or processing layout XML. The result is dramatically faster page load times, often reducing server response times from several hundred milliseconds down to 20-50 milliseconds for cached pages.
Configuring Redis as the full page cache in Magento 2 involves updating the env.php file in the app/etc directory with the Redis server connection details and specifying Redis as the cache backend. A typical setup uses a dedicated Redis database instance for full page cache, separate from the one used for default cache and session storage, to avoid key collisions and allow independent memory management. Most hosting providers that support Magento 2 include Redis in their stack, and the configuration requires just a few lines in the environment file.
The performance impact of switching from file-based cache to Redis is significant, especially for stores with large catalogs or high traffic volumes. File-based caching can become a bottleneck when the server's disk I/O is saturated, which is common on shared hosting or during traffic spikes. Redis eliminates this bottleneck entirely by serving everything from memory. Combined with a cache warmer that proactively generates cached versions of your most visited pages, Redis ensures that the majority of your customers experience consistently fast page loads, which directly improves engagement, reduces bounce rates, and supports higher conversion rates.