Questions the author answers
FAQ – Installation/Comptability
Q. Will this work out of the box?
No. You need to make some changes at the Nginx end. Please check our tutorial list.
FAQ – Nginx Fastcgi Cache Purge
Q. There’s a ‘purge all’ button? Does it purge the whole site?
Yes, it does. It physically empties the cache directory. It is set by default to /var/run/nginx-cache/.
If your cache directory is different, you can override this in your wp-config.php by adding
define(‘RT_WP_NGINX_HELPER_CACHE_PATH’,’/var/run/nginx-cache/’);
Replace the path with your own.
Q. Does it work for custom posts and taxonomies?
FAQ – Nginx Redis Cache
Q. Can I override the redis hostname, port and prefix?
Yes, you can force override the redis hostname, port or prefix by defining constant in wp-config.php. For example:
`
define(‘RT_WP_NGINX_HELPER_REDIS_HOSTNAME’, ‘10.0.0.1’);
define(‘RT_WP_NGINX_HELPER_REDIS_PORT’, ‘6000’);
define(‘RT_WP_NGINX_HELPER_REDIS_PREFIX’, ‘page-cache:’);
`
Q. Can I override the redis socket path, username, password?
FAQ – Nginx Map
Q. My multisite already uses WPMU_ACCEL_REDIRECT. Do I still need Nginx Map?
Definitely. WPMU_ACCEL_REDIRECT reduces the load on PHP, but it still ask WordPress i.e. PHP/MySQL to do some work for static files e.g. images in your post. Nginx map lets nginx handle files on its own bypassing wordpress which gives you much better performance without using a CDN.
Q. I am using X plugin. Will it work on Nginx?
FAQ – WP-CLI
Q. How can I update the options using WP-CLI?
`shell
wp option patch update rt_wp_nginx_helper_options
`
Still need help!
Please post your problem in our free support forum.