Redis Page Cache
Redis Page Cache
Description
A Redis-backed full page caching plugin for WordPress, extremely flexible and fast. Requires a running Redis server and the PHP Redis PECL extension.
Features
- Serves full cached pages from memory
- Caches redirects, 404s and other response codes
- Just-in-time cache expiry/regeneration
- Cache status headers for monitoring hit rate
- Smart and flexible cache invalidation
- Serves stale cache during regeneration
- Configurable list of ignored cookies and request variables
For an installation and configuration guide please visit the full documentation on GitHub. If you need any assistance please reach out to Pressjitsu via live chat or e-mail, or open a new thread in the WordPress.org support forums.
Installation
- Make sure you have a running Redis server and the Redis PECL extension installed
- Upload the plugin files to the
/wp-content/plugins/redis-page-cachedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Create a symbolic link from wp-content/advanced-cache.php to wp-content/plugins/redis-page-cache/advanced-cache.php
- Enable WP_CACHE in your wp-config.php file
For an installation and configuration guide please visit the full documentation.
Reviews
REAL FAST!
By Edwin Bekedam (frontiers) on August 8, 2021
Works «out of box». Thx!
By jasper2007 on December 16, 2019
Sorry, it's not working
By Szymon Scholz (uzerus) on January 3, 2019
Real speed! Great
By seodilip on October 25, 2018
Amazing!
By blysq23 on February 7, 2018
First impression with replicated redis cache
By kochtopf on September 3, 2016
This is the real deal for speed freaks. Benched it against my favorite disk cache (Hyper Cache) - it's around 10 times faster. It can work on a separate/remote redis server too.
Pro: Super fast compared to disk caches (10x faster remote - 20x faster if redis is on localhost).
-live cache can be replicated to a hot backup
-despite the release number (v0.8) it is stable and has no issues with anonymous comments. Cache invalidation for post and feeds works nicely (Still need to test the /pages, /tag, /categories - the usual WP stuff...)-
-Very lightweight and CPU friendly. Open source and well supported.
-compresses pages in memory
-low CPU use. Can run on low-end hardware
Cons: Not every plug likes it. Some cookies (like PHPSESSID) must be excluded to get pages cached.
-no easy way to change/update cached content by hand. For example, change a sitebar widget and you must flushall your redis database if you run a high TTL. Disk caches lets you grep/sed content much easier.
-need some free memory (48gb for some 3000 posts).
Changelog
0.8.3
- Introduce _COOKIE whitelisting and max TTLs
- Handle wordpress_test_cookie on login screen
- Fix add_action WordPress 4.7 compatibility
- Fix missing variable warning (props bookt-jacob)
0.8.2
- Fix missing $ introduced in 0.8.1
0.8.1
- Add more debug headers
- Delete cached entries on post update by default, instead of expiring them
- Add configuration options for database selection and Redis authentication
- Don’t cache 5xx errors
0.8
- Initial public release.