newestRedis Object Cache Pro下載,這是一款企業級對象緩存插件,專為 WordPress 設計,用于提高網站性能。使用Redis將 WordPress 中的對象(如文章、頁面、評論、分類目錄等)緩存到內存中,減少了數據庫查詢的次數,從而大大提升頁面加載速度、響應速度。
它還能提升后臺的訪問速度,前臺搜索功能、篩選功能等速度。尤其對于需要處理大量動態內容和高流量的Woocommerce網站來說,使用 Redis Object Cache Pro 這樣的緩存插件是非常有益的。可是它對靜態網站可能幫助不大,因為靜態網站往往很少涉及數據庫查詢,所以對象存儲的作用有限。
Redis Object Cache Pro是對象緩存,可以和Nginx-Fastcgi系統緩存以及Wp Rocket等頁面緩存插件一起使用,因為它們緩存的目標以及作用層面不一樣。不過多緩存一起使用需要配置好,不然容易重復緩存導致速度慢或者起沖突。
使用這個插件實現Redis對象緩存就不能再使用Mamcached對象緩存,網站只能使用一個對象緩存。使用對象緩存后就沒必要再使用數據庫緩存,容易有沖突。
What is GPL License Plugin
This plugin is a GPL licensed product and is safe and legal. Click to learn whatGPL licenseClick to learnWordPress official website about the GPL. Simply put the plugin/theme source code open source sharing using the GPL agreement can be legally and freely changed, used, and distributed.
The company that owns the plugin/theme mentioned in the title of this item is not affiliated with us in any way, and the company has not licensed its products or brands to us. This product is a distribution of the plugin/theme mentioned in the title, created by a third party company/developer and redistributed by us under the terms of the General Public License (GPL).
We use the plugin/theme name for the sole purpose of identifying the plugin/theme on which this GPL merchandise is based, with the intention of helping users better understand the functionality and possible application scenarios of this product of ours, and in no way to impersonate or mislead. This merchandise is sold under and respects the terms of the GPL license agreement and ensures that users are aware that they are acquiring a distribution of the plugin/theme based on an open source license. They are allowed to view, modify and redistribute the software to promote its free use and development.
Plug-in Security
Purchased directly from foreign formal channels, do not modify the source code. All plug-ins we use to build their own sites, used in a number of sites, safe, stable and reliable.Worried about plugins being insecure? Check out theIs WordPress Cracked Plugins/Themes (Green, GPL, Nulled) Safe?The
- pass (a bill or inspection etc)Virustotal Antivirus Verification.;
- pass (a bill or inspection etc)WordfenceSource code review;
- pass (a bill or inspection etc)SucuriSecurity antivirus scanning;
Redis Object Cache Pro更新方法/記錄
General new version out within 24 hours of this site will be updated, then please visit this page directly to download the new version of the installation package to upload the update, the product title will be written on the latest version number. Can only be updated by uploading the installation package, mind do not shoot, if you want to update online please support the original version of the plug-in official website to buy.
Click to view the update log of this plugin (Changelog)The
Redis Object Cache Pro下載購買條款
This site plug-in purchased from foreign sites, the purchase price is$4.99/eachThe validity period is 2 years. Foreign trade star uniform selling price of 19 yuan / a, valid for life. And spend a lot of effort to produce the use of tutorials + provide manual Q&A service, absolutely value for money.
Plug-ins are for study and research only, virtual products are reproducible and non-refundable once sold, for more information, please go toterms of service. Please login before purchasing, refresh the page after purchase to get plugin download access.
Foreign trade star for the purchase of users to provide after-sales service, plug-in use of the process of any questions please leave a message in the comments below, there are questions and answers.
Installation/Enabling Methods
Directly install the zip installer that you purchased and downloaded from this site, install it and enable it.
Installation method 1: Upload and install
Find and click "Plugin">"Install Plugin" in the left menu column of the website background, then click "Upload Plugin" in the upper left corner, upload the downloaded zip installation package and click "Install Now", after installation, click on the"Enable plug-ins"Complete the installation.
Installation method 2:FTP installation
Unzip the plugin zip and place the unzipped obtainedfile (paper)Upload to the plugins directory (xxx.com/wp-content/plugins).
Find and click "Plug-ins" > "Installed Plug-ins" in the left menu column of the website background, find the plug-in in the plug-in list, and click "Enable".
Redis Object Cache Pro配置啟用方法
注意:如果提示有新版本更新,請不要在后臺直接在線更新,會導致插件異常。請在本頁面下載新版本覆蓋安裝更新,如果安裝后顯示有2個一樣插件,禁用卸載掉較舊版本就行。
服務器的PHP需要先安裝Redis擴展,然后把下面配置代碼復制粘貼到網站根目錄wp-config.php里面,回到插件設置頁面點“Enable Cache”啟用。
注意下面代碼所有的參數設定行尾部都要加上英文逗號 , 。如果在 Redis Object Cache Pro儀表板能看到請求數據,說明配置成功。
define( 'WP_REDIS_CONFIG', ['host' => '127.0.0.1','token' => 'e279430effe043b8c17d3f3c751c4c0846bc70c97f0eaaea766b4079001c','port' => 6379,'database' => 0, // 指定Redis數據庫'maxttl' => 3600 * 24 * 7, // 7 天'timeout' => 1.0,'read_timeout' => 1.0,'split_alloptions' => true,'debug' => false,]);define('WP_REDIS_DISABLED', false);
host’ => 指定 Redis服務器地址,如果和WEB服務器在同一個主機,則設定為’127.0.0.1’。
‘port’ => Redis的連接端口,默認為6379,如果在Redis中變更默認端口,那么這里也要跟著變更。
‘database’ => 指定Redis數據庫編號,如果有多個網站使用同一個Redis服務器,則需要為每個網站指定一個不同的數據庫編號。默認為0,最多支持的編號數量取決于Redis服務器支持的數據庫數量,默認支持16個。
提示:如果你服務器里面有多個網站都使用這個插件,需要第一個網站設置 ‘database’ => 0, 第二個設置’database’ => 1, 以此類推。不然的話網站可能打不開。
‘username’ => 指定連接的用戶名,如Redis未設置登錄驗證,則無需該參數。用法示例:’username’ => ‘abc’,
‘password’ => 指定連接的密碼,用法同上。
‘prefix’ => 類似于 WP 的$table_prefix變量,它為所有數據庫表名添加前綴。示例:’prefix’ => ‘mysitename’,
‘maxttl’ => 以秒為單位對所有新的緩存鍵強制執行“最大生存時間”。示例:’maxttl’ => 3600 * 24, // 24小時
‘timeout’ => 與 Redis 的連接超時時間,以秒為單位,支持小數。示例:’timeout’ => 1.5,
‘read_timeout’ => 讀取超時時間,以秒為單位,支持小數,用法同上。
‘retry_interval’ => 重試間隔,以毫秒為單位,支持整數。示例:’retry_interval’ => 300,
‘retries’ => 設置連接失敗的重試次數,整數型。
‘backoff’ => ‘default’, 使用重試配置時,將使用默認回退配置,該配置包括:去相關抖動算法、補償計算的基數是500毫秒、補償時間上限為750毫秒
‘shared’ => true, 設定Redis 服務器/集群是共享的還是專用的。這會影響內存和鍵計數的顯示方式。
‘async_flush’ => true, 在Redis 4.0中引入了異步刷新,可以使用該async_flush選項啟用。它允許在后臺刪除大量Key而不會阻塞服務器。
‘prefetch’ => true, 啟用預取后,請求的緩存鍵將基于每個請求進行存儲,并在連續請求的早期按組進行批量加載。可預取鍵值列表在每次請求時都會更新,以保持其最新狀態。
以上是一些常用參數,基本滿足絕大部分網站需求,如需要了解全部參數請查閱official documentThe
對于壓縮和異步刷新等高級功能,請查看配置選項的完整列表。要連接到 Redis 集群或使用復制,請參閱連接指南The
安裝代碼后,在插件頁面點啟用緩存↓。
下圖是啟用緩存一段時間后的截圖,能成功顯示數據和緩存大小。
Frequently Asked Questions & Solutions
1- PHP緩存被輸出,提示PHP錯誤
如果是VPS服務器,擁有多個站點,不同站點需要使用不同數據庫,并且數據庫前綴要設置得不一樣。點擊View DetailsThe
更多教程和常見問題請移步official documentThe