On the "General" tab and select your caching methods for page, database and minify. In most cases, "disk enhanced" mode for page cache, "disk" mode for minify and "disk" mode for database caching are "good" settings.
Recommended: On the "Minify" tab all of the recommended settings are preset. Use the help button to simplify discovery of your CSS and JS files and groups. Pay close attention to the method and location of your JS group embeddings. See the plugin's FAQ for more information on usage.
Recommended: If you already have a content delivery network (CDN) provider, proceed to the "Content Delivery Network" tab and populate the fields and set your preferences. If you do not use the Media Library, you will need to import your images etc into the default locations. Use the Media Library Import Tool on the "Content Delivery Network" tab to perform this task. If you do not have a CDN provider, you can still improve your site's performance using the "Self-hosted" method. On your own server, create a subdomain and matching DNS Zone record; e.g. static.domain.com and configure FTP options on the "Content Delivery Network" tab accordingly. Be sure to FTP upload the appropriate files, using the available upload buttons.
Recommended: On the "Browser Cache" tab, HTTP compression is enabled by default. Make sure to enable other options to suit your goals.
Optional: On the "Database Cache" tab the recommended settings are preset. If using a shared hosting account use the "disk" method with caution; in either of these cases the response time of the disk may not be fast enough, so this option is disabled by default.
Optional: On the "Object Cache" tab the recommended settings are preset. If using a shared hosting account use the "disk" method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Test this option with and without database cache to ensure that it provides a performance increase.
Optional: On the "User Agent Groups" tab, specify any user agents, like mobile phones if a mobile theme is used.
Install yum if you don't already have it. Then, if you like, you can update all of your installed software, but do so only if you have the experience and time to double check configurations afterwards:
# yum update
Install PECL:
# yum install php-pear
Install the PHP Development package:
# yum install php-devel
Install apxs with the following command:
# yum install httpd-devel
Make sure GCC is up-to-date:
# yum install gcc make
Make sure ZLIB is fully installed:
# yum install zlib-devel
Memcached (Daemon) Installation: Time required: 2 minutes
Try to install with yum:
# yum install libevent libevent-devel
If this succeeds skip to #5. If this fails, then let's compile. Download and extract the latest stable version:
You're done! XCache should now be available. If the following command retuns anything, you're all set:
# php -r 'phpinfo();' | grep 'xcache'
eAccelerator Installation: Time required: 1 minute
If using PHP v5+, download the lastest compatible version and extract. Remember v0.9.5.3 is the last version that supports user objects, later versions only support opcode caching.