1. Home
  2. Knowledge Base
  3. CloudNS / NGINX
  4. How to exclude pages / paths from Redis caching (WordPress)

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; 
}

Was this article helpful?

Related Articles