前言介紹
- 這款 WordPress 外掛「WP Redis」是 2014-09-17 上架。
- 目前有 10000 個安裝啟用數。
- 上一次更新是 2025-01-21,距離現在已有 107 天。
- 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
- 有 20 人給過評分。
- 論壇上目前有 1 個提問,問題解答率 0%
外掛協作開發者
mboynes | jspellman | getpantheon | jazzs3quence | danielbachhuber | outlandish-josh |
外掛標籤
內容簡介
對於關注高流量、用於登錄用戶的速度或動態頁面加載的站點,高速而持久的物件緩存一定是不可或缺的。您還需要裝置能規模化跨多個應用程序實例,因此使用本地文件緩存或 APC 則不適合。
Redis 是一個很好的答案,我們在 Pantheon 平台上捆綁了 Redis。這是與緩存集成的插件,但如果您有 Redis,則可以在任何自託管的 WordPress 站點上使用它。從WordPress.org或Github安裝。
重要的是要注意,持久物件緩存不是萬能的- 包含 2,000 個Redis調用的頁面載入可以是2秒的物件緩存交易。確保明智地使用物件緩存:留在合理的密鑰數量中,不要在每個鍵上存儲大量數據,並避免訪問前端寫入和刪除。
前進盡情創造! 一旦你建立了了不起的東西,請向我們發送功能請求(或錯誤報告)。查看 wiki 了解有用的代碼段和其他提示。
WP-CLI 命令
此插件實現了各種WP-CLI命令。所有命令都分組到 wp redis名稱空間中。
$ wp help redis
NAME
wp redis
SYNOPSIS
wp redis
SUBCOMMANDS
cli 使用 WordPress 的 Redis 配置啟動 redis-cli
debug 對任何頁面 URL 進行物件緩存命中/未命中比例進行調試。
enable 通過創建 object-cache.php 的符號鏈接啟用 WP Redis
info 提供有關 Redis 連接的詳細信息。
使用 wp help redis
貢獻
有關貢獻的信息,請查看 CONTRIBUTING.md。
原文外掛簡介
For sites concerned with high traffic, speed for logged-in users, or dynamic pageloads, a high-speed and persistent object cache is a must. You also need something that can scale across multiple instances of your application, so using local file caches or APC are out.
Redis is a great answer, and one we bundle on the Pantheon platform. This is our plugin for integrating with the cache, but you can use it on any self-hosted WordPress site if you have Redis. Install from WordPress.org or Github.
It’s important to note that a persistent object cache isn’t a panacea – a page load with 2,000 Redis calls can be 2 full seconds of object cache transactions. Make sure you use the object cache wisely: keep to a sensible number of keys, don’t store a huge amount of data on each key, and avoid stampeding frontend writes and deletes.
Go forth and make awesome! And, once you’ve built something great, send us feature requests (or bug reports). Take a look at the wiki for useful code snippets and other tips.
WP-CLI Commands
This plugin implements a variety of WP-CLI commands. All commands are grouped into the wp redis namespace.
$ wp help redis
NAME
wp redis
SYNOPSIS
wp redis
SUBCOMMANDS
cli Launch redis-cli using Redis configuration for WordPress
debug Debug object cache hit / miss ratio for any page URL.
enable Enable WP Redis by creating the symlink for object-cache.php
info Provide details on the Redis connection.
Use wp help redis
Contributing
See CONTRIBUTING.md for information on contributing.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Redis」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1 | 0.2.0 | 0.2.1 | 0.2.2 | 0.3.0 | 0.4.0 | 0.5.0 | 0.6.0 | 0.6.1 | 0.6.2 | 0.7.0 | 0.7.1 | 0.8.0 | 0.8.1 | 0.8.2 | 0.8.3 | 1.0.0 | 1.0.1 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.4 | 1.2.0 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | 1.3.5 | 1.4.0 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.4 | 1.4.5 | trunk |
延伸相關外掛(你可能也想知道)
WP Super Cache 》本外掛可以從您的動態 WordPress 部落格生成靜態 HTML 檔案。在產生 HTML 檔案後,您的網頁伺服器會傳送該檔案,而不是處理比較沉重、耗費更多資源的 WordPre...。
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 》WP-Optimize Cache 是一個革命性的、全方位的 WordPress 效能外掛,將您的網站做快取、清理資料庫及圖片壓縮,讓您的網站快速且最佳化。我們的快取功能是建構...。
WP Fastest Cache 》han PNG or JPEG, which means faster downloads and less data consumption for your visitors, Database Cleanup – Detect and delete unnecessary d...。
SpeedyCache – Cache, Optimization, Performance 》SpeedyCache 是一款 WordPress 外掛,能透過網頁快取、最小化檔案和檔案壓縮的方式,幫助您減少網站載入時間。, 您可以在 https://speedycache.com/docs 找到...。
Breeze – WordPress Cache Plugin 》Breeze是由Cloudways團隊開發的一款免費、簡單(卻功能強大)且使用者友好的WordPress快取外掛。它提供不同層級的WordPress效能優化選項,在WordPress、搭配W...。
Jetpack Boost – Website Speed, Performance and Critical CSS 》使用 Jetpack Boost 優化網頁性能加速你的 WordPress 網站。輕鬆啟用一鍵優化,提升核心 Web 重要指標。, 你是否知道,更快的網站可以:, , 在 Google 搜尋排...。
OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. 》, 使用 Google 的字型服務,怎麼可能與 GDPR 不符呢?事實上,當使用者的瀏覽器要求字型時,他們的 IP 會被 Google 記錄並用於分析。, — Lifehacker, , OMG...。
10Web Booster – Website speed optimization, Cache & Page Speed optimizer 》10Web Booster 是提升網站整體效能的速度優化外掛程式,讓您專注並蓬勃發展 WordPress 網站的創意方面,同時讓我們專心於 WordPress 效能最佳化。透過 10Web ...。
NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN 》NitroPack 是一個全方位的網站效能優化服務外掛,它包含了所有使網站加速所需的功能,包括圖片優化、代碼壓縮、快取、CDN (內容交付網路)、延遲載入等等。, ,...。
Cache Enabler 》Cache Enabler 是個簡單卻強大的 WordPress 快取外掛,使用起來簡單且只需要最小化的設定,最重要的是能夠幫助網站提升效能來達到更快的載入時間。它會將前端...。
Aruba HiSpeed Cache 》Aruba HiSpeed Cache 是一個外掛,直接與 HiSpeed Cache 服務介面互動,該服務適用於 Aruba 主機平台,並能在 WordPress 儀表板中自動管理,無需訪問網站控制...。
Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN 》Hummingbird 透過添加細調控制文件壓縮、延後 CSS 和 JavaScript 樣式和腳本、CSS 和 JS 壓縮,以及懶加載等全球最佳緩存優化方法,讓您的網站更快,並優化網...。
Recent Tweets Widget 》查看最新的 WordPress 外掛優惠。, 使用快取的 Twitter API v1.1 最新的 Recent Tweets Widget (最近的 Tweet 外掛)。它使用新版 Twitter API v1.1,並將 Twe...。
Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer 》數千個使用者已經使用 Clearfy 外掛優化他們的 WordPress 網站。這是一個綜合且免費的工具,擁有豐富的設定。搭配其他外掛使用,可以讓您的 WordPress 網站更...。
Seraphinite Accelerator 》這個外掛可以加速您的網站,使其更具吸引力和搜索引擎友好性。詳細了解如何使用。, 若要使用免費的額外功能,請按照屏幕上的外掛程式指示安裝免費的延伸外掛...。