WordPress Configure Memcached Cache Course (no code required)

Many people know that WordPress can pick up the site faster by cacheing, but besides WordPress itself, we can use object caches to speed up the website on a server. In this paper, we bring WordPress to configure Memcached caches, using the Tower Panel and WordPress cache plugin without changing codes.

Install Memcached

First we need to install Memcached on the tower panel, and then two things — Memechaed itself, service end, and PHP’s Memcached Extension. Open Software Management – Run Environment – Install Memcached, suggest compiler installation

宝塔面板安装Memcached服务端

The installation process will last for a while and can be back later. After the installation is completed, we continue to install PHP’s Memcached Extensions. Open PHP Settings – Manage, install memcached cache extensions

宝塔安装PHP Memcached 扩展

The PHP extension will soon be installed so that even if we’ve got the Memcached environment, we can then configure WordPress to a cache of objects.

WordPress ConfigureMemcached

Configure Memchad for WordPress, we can use the W3 Total Cache plugin, which is a very useful and powerful WordPress cache plugin that contains object cache options that allow us to use directly after installation of the W3 plugin, select Performance – General Settings to switch all needed caches to Memcached page caches

页面缓存使用Memcached

Database Cache

数据库缓存使用Memcached

Object Cache

对象缓存使用Memcached

Save all options after completion Refresh the front page and see if the page source can find the following at the bottom, prove that your WordPress has successfully configured the Memcached cache

wordpress 配置 memcached缓存成功

The use of Memcached is a very good way to boost the speed of the web site, and it’s highly recommended for station chiefs with the required speed.

未经允许不得转载:萌萌Apprentissage » WordPress Configure Memcached Cache Course (no code required)

Like (0) 打赏

Comments 0

Protected with IP Blacklist CloudIP Blacklist Cloud
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

//下一个脚本特效
//下一个脚本