Finding your next read
Practical craft for people building for the web.
Explore DevelopmentFinding your next read
THE FINDERPRESS TOOL DIRECTORY
Explore this tool and check the official listing for its latest features and requirements.
01 / SOURCE DETAILS
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.php drop-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.
02 / SOURCE DETAILS
Upload the plugin files to wp-content/plugins/pigcache , or install through the WordPress plugins screen. Activate the plugin through the Plugins screen. Go to Settings → PigCache and use Enable object cache (copy drop-in) when you are ready. Optionally install the SQL cache drop-in from the same screen. 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.
03 / SOURCE DETAILS
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.
KEEP EXPLORING