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(); ?>