這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Redis Page Cache

描述

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.

安裝

  1. Make sure you have a running Redis server and the Redis PECL extension installed
  2. Upload the plugin files to the /wp-content/plugins/redis-page-cache directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress
  4. Create a symbolic link from wp-content/advanced-cache.php to wp-content/plugins/redis-page-cache/advanced-cache.php
  5. Enable WP_CACHE in your wp-config.php file

For an installation and configuration guide please visit the full documentation.

評價

2021年8月8日
Its speeds up without need for complicated bloated page-cache plugin. Just basically be optional to all Redis object cache users. Thanks!
2019年12月16日
Just installed it to WP 5.3.1 works great, much better TTFB now. If you installed it from WP admin don’t forget change page-cache-red to pj-page-cache-red in your symlink to get it work.
2018年10月25日
A must have for Woocommerce webmasters. This one’s a killer. However, configuring should be done with care!
2018年2月7日
We used this plugin on a number of websites. Its caching method is a lot better than any other caching plugins I’ve tried. Most of them actually SLOW DOWN your website which is awful. Avoid object caching as it doesn’t work well with WordPress. This is one of the few plugins that actually do the job and do it well. The cache invalidation is always spot on with this plugin. As soon as you set it up you never have to worry about a thing. Debugging is also a breeze with the plugin as it adds an http header informing you whether you hit a cached version or not. Even tho it hasn’t been updated in a very long time, it still works without any issues whatsoever. Thank you for this great plugin.
2016年9月3日
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).
閱讀全部6個評價

貢獻者及開發者

“Redis Page Cache” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Redis Page Cache 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.