PigCache
v1.0.29aixeiger · 2026年9月20日 上架
Redis object-cache drop-in with optional SQL, HTML page, and fragment caching.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 224
- 最近更新
- 2026年9月21日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+
贡献者
PigCache replaces WordPress’s default object cache with Redis (official drop-in pattern), using PhpRedis when available or the bundled Predis. Configure the connection with PIGCACHE_REDIS_* constants in wp-config.php.
Features:
- Redis object cache drop-in (PhpRedis or bundled Predis)
- SQL query cache (optional
db.phpdrop-in) with per-table invalidation, so writing to one table does not discard results that never read it - Full-page HTML cache for anonymous visitors with tag-based selective invalidation on content changes
- Fragment caching helpers backed by Redis
- Tag-based selective invalidation — only affected pages are purged when a post, term, or comment changes
Every feature listed above is included and fully enabled. The plugin has no license check, no trial period and no usage limit, and it does not contact any external service.
The object cache drop-in is derived from Redis Object Cache (GPLv3, Till Krüss / Rhubarb Group).
External services
This plugin does not connect to any external service. All caching, invalidation and metrics happen on your own server and your own Redis instance.