WordPress的缓存插件种类繁多,配置难易程度不同,效果也很难评估。 其中SQLite Object Cache 是使用一个SQLite3数据库去作为原始数据库的缓冲层,可以一定程度上减小数据库的压力,实测效果确实还是不错的。
测试环境是OpenLiteSpeed反代,未开启Litespeed缓存插件。环境不重要,控制变量就行,主要还是看开启缓存插件后是否有性能提升以及提升的幅度。
新建一个WordPrss实例,然后用2024主题进行测试,测试网站为:
SpeedVitals

SpeedVitals – Website Speed Test & Monitoring
Website Speed Test to measure and optimize Web Vitals. With SpeedVitals, you can measure & monitor Page Speed from 30+ Locations & Devices.
未使用其他插件,且未使用缓存插件:

安装SQLite Object Cache并开启:

总体看来,效果还是不错。
未开启缓存插件:


开启缓存插件:



发表回复