PigCache
Redis object-cache drop-in with optional SQL, HTML page, and fragment caching.
Use com cautela
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.
- Testado com as últimas WordPress (7.1)
- Base de usuários pequenas (<10 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where PigCache stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| esconderijo | >100 |
| html cache | >100 |
| object cache | >100 |
| execução | >100 |
| redis | >100 |
About PigCache
From the official readme · v1.0.29Descrição
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.
Recursos:
- 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).
Serviços externos
This plugin does not connect to any external service. All caching, invalidation and metrics happen on your own server and your own Redis instance.
Instalação
- 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.phpdrop-in from the same screen and adddefine( 'WP_CACHE', true );to yourwp-config.php. The plugin never editswp-config.phpfor you.
Do not run another full Redis object-cache plugin at the same time; PigCache replaces that role.
Log de Changes
Lançamento inicial.
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, beforeinit, 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 laterheader()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 forinit, 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_idcould 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
DEFAULTon aTEXTcolumn. - Fixed:
INSERT/REPLACEstatements written without the optionalINTOkeyword 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 reportcommand 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 theCF-Connecting-IPheader. - 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 onDATETIMEcolumns since 5.6.5 (older versions only allowed it onTIMESTAMP). 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 withWP_DEBUGon. 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 TABLEstring was silently turned into a bogus column bydbDelta(), producing a brokenALTER TABLE ADD COLUMNon 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; theWP_CACHEsnippet 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_DIRwhen 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.
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best PigCache alternatives
Todos os plugins de cache →FAQ
PigCache: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
