WordPress can be very fast after some (small) effort on performance optimization with the help from its plenty of plugins. Two of the directions are using cache to cut down the number of database queries and optimizing PHP’s performance with opcode cache. In this post, we introduce how to speed up WordPress with APC object cache and page cache with the two plugins “APC Object Cache Backed” and “WP Super Cache”.
Install WP Super Cache ∞
Search WP Super Cache in the WordPress dashboard, install it, activate it and enable the caching in the plugin admin page.
Install APC for php and httpd ∞
Install APC support for php on Fedora/CentOS/RHEL:
# yum install php-pecl-apc php-pear
Restart the httpd service:
# service httpd restart
You can use a small php script to check whether the APC is working:
<?php phpinfo(); ?>
Install the APC Object Cache Backend plugin ∞
After the APC is supported in your PHP, you can install the APC Object Cache Backend plugin to start using the APC cache.
Enjoy the boosted performance of WordPress now!
Latest posts by Eric Zhiqiang Ma (see all)
- Vim Tutorial for Beginners: vimtutor - Dec 31, 2016
- Essential Gnome Shell Extensions for Gnome 3 Users - Oct 22, 2016
- How to Install 32-bit Wine 1.8 on CentOS 7 - Oct 16, 2016