[WordPress] 外掛分享: PigCache

首頁 › 外掛目錄 › PigCache
全新外掛
安裝啟用
—
尚無評分
25 天前
最後更新
—
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.29 上架:2026-09-19

內容簡介

PigCache 是一款將 WordPress 預設物件快取替換為 Redis 的外掛,提供高效能的快取解決方案,適合需要優化網站效能的使用者。它支援 PhpRedis 和 Predis,並且無需外部服務,確保資料安全性。

【主要功能】
• 支援 PhpRedis 或 Predis 的 Redis 物件快取
• 可選的 SQL 查詢快取,具每表無效化功能
• 為匿名訪客提供完整頁面 HTML 快取
• 支援基於標籤的選擇性無效化
• 片段快取助手,後端使用 Redis

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.29) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「PigCache」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon