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