Linux 软件免费装

PigCache

开发者 aixeiger
更新时间 2026年9月21日 00:40
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

cache performance redis object-cache html-cache

下载

1.0.29

详情介绍:

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: 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).

安装:

  1. Upload the plugin files to wp-content/plugins/pigcache, or install through the WordPress plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Go to Settings → PigCache and use Enable object cache (copy drop-in) when you are ready.
  4. Optionally install the SQL cache drop-in from the same screen.
  5. For the full-page HTML cache, install the advanced-cache.php drop-in from the same screen and add define( 'WP_CACHE', true ); to your wp-config.php. The plugin never edits wp-config.php for you.
Do not run another full Redis object-cache plugin at the same time; PigCache replaces that role.

升级注意事项:

1.0.0 Initial release.

常见问题:

Does this work without Redis?

No. A reachable Redis server is required for the object cache (and for HTML/fragment features that use Redis).

Is this the same as “Redis Object Cache”?

PigCache includes its own drop-in and must not be used together with the separate “Redis Object Cache” plugin.

更新日志:

1.0.25 1.0.24 1.0.1 1.0.0