Wordfence is a free WordPress plugin that provides security for your wordpress installation. It has a nice feature that scans your wordpress files and compares it with the original to see if they have been modified.
One of the features that the Wordfence plugin offers is Caching. It claims that if you Enable Wordfence Falcon Engine, there is a “30 to 50 Times speed increase” in the site.
If you are using Nginx and PHP5-FPM, then you get asked to go to http://www.wordfence.com/blog/2014/05/nginx-wordfence-falcon-engine-php-fpm-fastcgi-fast-cgi/ where the Nginx.conf rules which are require to be inserted are set out.
What you have to do is first locate where your nginx.conf file is
find / -name nginx.conf
reveals the location.
In the case of centminmod, it is at
In the case of easyengine, it is at
Make a backup of the nginx.conf file by renamning it as nginx_BU.conf with the command
Now, just create a new nginx.conf file with the command
and paste the Nginx.conf rules provided by Wordfence.
Now restart nginx with the command
service nginx restart
nginx -t && service nginx reload
If all goes well, you will get the message
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
Now, go back to the Wordfence plugin and enable the caching.
The moot question is whether the caching is better than that provided by WP Super Cache or Quick Cache.