CLOUDNS - How to exclude pages / paths from Redis caching (WordPress)


Written by Dennis Nind

Last published at: February 8th, 2019

Within the CLOUDNS plugin, if you are using the Full Page Caching or the Full Page Caching + Nginx Helper for your WordPress site you may want to selectively 'exclude' content from the Redis caches. To do so, you will first need to create an nginx.conf file within the public_html of your site - then, enter the following...

location /sample-page { 
    set $wpcookienocache 1; 
    try_files $uri $uri/ /index.php?$args;