πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
PigCache icon
Actively maintained Tested with WP 7.1

PigCache

Redis object-cache drop-in with optional SQL, HTML page, and fragment caching.

Active installs<10New
Downloads Β· 30d72β–Ό -10% vs prev. 30d
Ratingβ€”0 reviews
Health score60/100Fair
All-time downloads235Since Sep 2026
Support resolvedβ€”No recent threads
RequiresWP 5.8PHP 7.4+
Downloads Β· 7d13β–Ό -48% week over week
Our verdict

Use with caution

PigCache works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

81725Sep 20Oct 24Nov 28
Yesterday1
Daily average (1y)3
Peak day34Sep 20, 2026
Last 12 months239

Download spikes usually follow a new release β€” each site that auto-updates counts as a download.

Rankings

Where PigCache stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cache >100 10,000 Best cache plugins β†’
html cache >100 4,519 Best html cache plugins β†’
object cache >100 2,436 Best object cache plugins β†’
performance >100 10,000 Best performance plugins β†’
redis >100 532 Best redis plugins β†’

About PigCache

From the official readme Β· v1.0.29

Description

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.

Installation

  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.

Changelog

Initial release.

1.0.25

  • Fixed: activating the plugin on a fresh site β€” or deactivating and reactivating it β€” could break the request outright. The constructor scheduled the plugin’s WP-Cron events on plugins_loaded, before init, and building the cron label touched a translation function that early. WordPress logs that as a notice, but because it is the very first byte of output in the entire request, every later header() call in that request then fails with “headers already sent” β€” which shows up as WordPress reporting unexpected output during activation, or the plugin being silently left deactivated. Cron registration now waits for init, like it always should have.
  • Fixed: with a cold object cache, a query could return another query’s rows. Caching a result or invalidating one reaches the database itself, and those internal lookups overwrote the result the caller was about to read. It affected the first query of each kind in a request after a cache flush, a Redis restart or a fresh install, and the wrong rows were then cached for the full TTL. Writes were affected too: a lost insert_id could attach new rows to the wrong record.
  • Fixed: the first write to a table did not invalidate SELECTs cached before it, because a freshly bumped per-table epoch was indistinguishable from a missing one. The global epoch had the same flaw.
  • Fixed: wp_cache_decr() could return negative values instead of clamping at zero as WordPress core does.
  • Fixed: the query-stats table was never created, because MySQL rejects a DEFAULT on a TEXT column.
  • Fixed: INSERT/REPLACE statements written without the optional INTO keyword were not attributed to their table.
  • The URL firewall now learns from 404s WordPress actually returned instead of matching against a list of known permalinks. It no longer needs to be seeded or rebuilt, and it cannot 404 real content.
  • Hardened: the URL firewall’s wp pigcache-fw report command now strips control/escape bytes before printing request data (IP, User-Agent) to the terminal, and the recorded IP is validated as a well-formed address instead of trusted verbatim from the CF-Connecting-IP header.
  • Hardened: request headers used by the URL firewall for instrumentation (User-Agent, Referer) are explicitly sanitized before being stored.
  • Fixed: the tag-index table used DATETIME ... DEFAULT CURRENT_TIMESTAMP, which MySQL only allows on DATETIME columns since 5.6.5 (older versions only allowed it on TIMESTAMP). On an older server the table silently failed to create, and worse, the very next activation queried a column on a table that didn’t exist, which WordPress reported as unexpected output during activation on any install with WP_DEBUG on. The two Pro-only tables with the same pattern are fixed the same way. None of the three columns had a default anyway β€” the code that writes to them was already setting the value itself.
  • Fixed: an inline SQL comment left inside a CREATE TABLE string was silently turned into a bogus column by dbDelta(), producing a broken ALTER TABLE ADD COLUMN on every activation after the first. Explanatory comments about column definitions now live outside the SQL string.
  • Tested against WordPress 7.1.

1.0.24

  • Tag-based selective invalidation and per-table SQL invalidation are now part of the plugin for everyone, with no license check of any kind.
  • The plugin no longer writes to wp-config.php; the WP_CACHE snippet is shown in the admin screen instead.
  • The Redis circuit breaker keeps its state in shared memory instead of a file in the system temp directory.
  • Drop-ins resolve the plugin directory through WP_PLUGIN_DIR / WPMU_PLUGIN_DIR when those constants are available.

1.0.1

  • Security: sanitize $_SERVER inputs in early-boot path and admin handlers.
  • Security: escape all outputs in object cache stats view.
  • HTML and fragment caches use tag-based selective invalidation when available, with global flush fallback.

1.0.0

  • Initial release on WordPress.org.

Full changelog on WordPress.org β†’

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own β€” no account needed.

Active installs badge Rating badge Health score badge

Best PigCache alternatives

All cache plugins β†’
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Super Cache WP Super Cache A very fast caching engine for WordPress that produces static html files. by Automattic 1M+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (1.3K) 4 weeks ago 95
2 WP Fastest Cache – WordPress Cache Plugin WP Fastest Cache – WordPress Cache Plugin The simplest and fastest WP Cache system by Emre Vona 1M+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.9 (4.2K) 3 weeks ago 91
3 WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance WP-Optimize Get caching and more with this powerful cache plugin. Cache, optimize images, clean your… by David Anderson / Team Updraft 1M+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.8 (2.6K) 2 weeks ago 94
4 SpeedyCache – Cache, Optimization, Performance SpeedyCache – Cache, Optimization, Performance SpeedyCache is a WordPress cache plugin that helps you improve performance of your… by Softaculous 500K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.4 (30) 2 days ago 90
5 Breeze Cache Breeze Cache Breeze is a caching plugin developed by Cloudways. Breeze uses advance caching systems to… by Cloudways 300K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 3.6 (134) 2 weeks ago 83
6 OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. The original Google Fonts self-hosting plugin. Automagically caches your fonts locally β€” no… by Daan van den Bergh 300K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (213) 3 days ago 96
7 Jetpack Boost – Website Speed, Performance and Critical CSS Jetpack Boost – Website Speed, Performance and Critical CSS Speed up your WordPress site with one-click optimizations like Page Cache, Critical CSS… by Automattic 200K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (613) 1 week ago 85
8 Aruba HiSpeed Cache Aruba HiSpeed Cache Aruba HiSpeed Cache interfaces directly with an Aruba hosting platform's HiSpeed Cache… by Aruba.it Dev 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 3 (10) 1 month ago 79
9 Cache Enabler Cache Enabler A lightweight caching plugin for WordPress that makes your website faster by generating… by KeyCDN 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (139) 2 months ago 74
10 NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization NitroPack Boost site speed and performance with an all-in-one cache and speed optimization plugin… by NitroPack 80K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (311) 3 weeks ago 78

FAQ

PigCache: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is PigCache free?

Yes. PigCache is free to download and use from the official WordPress.org plugin directory.

Is PigCache safe to use in 2026?

PigCache works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

How many websites use PigCache?

PigCache is active on <10 WordPress websites and has been downloaded 235 times since it launched in September 2026. It was downloaded 72 times in the last 30 days.

Does PigCache work with WordPress 7.1?

Yes. The developer has tested PigCache up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.

What PHP version does PigCache need?

PigCache requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was PigCache last updated?

The latest version, 1.0.29, was released on September 20, 2026 (2 months ago).

Who makes PigCache?

PigCache is developed and maintained by aixeiger.

What are the best alternatives to PigCache?

The most popular alternatives to PigCache are WP Super Cache (1M+ installs), WP Fastest Cache (1M+ installs) and WP-Optimize (1M+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↡ to open