Title: Exclude plugin from cache
Last modified: October 30, 2017

---

# Exclude plugin from cache

 *  [tatof](https://wordpress.org/support/users/tatof/)
 * (@tatof)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/exclude-plugin-from-cache-2/)
 * hello,
 * I’ve tried everything but I can’t find a solution to my problem.
    I’m using a
   post like plugin that works with ajax…
 * But the w3 total cache totaly breaks the like system, its imposible to like a
   post now. Mostly the button doesn’t work but sometimes if your lucky it gives“
   null”.
 * I’ve searched the web for a tutorial on how to exclude plugins and there files
   but I can’t find anything with those terms. I tried adding this to my single.
   php:
 *     ```
       define('DONOTCACHEPAGE', true);
       //Disables page caching for a given page.
       define('DONOTCACHEDB', true);
       //Disables database caching for given page.
       define('DONOTMINIFY', true);
       //Disables minify for a given page.
       define('DONOTCDN', true);
       //Disables content delivery network for a given page.
       define('DONOTCACHCEOBJECT', true);
       //Disables object cache for a given page
       ```
   
 * But that also didn’t fix anything.
    Pls help me 🙂
    -  This topic was modified 8 years, 5 months ago by [tatof](https://wordpress.org/support/users/tatof/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-plugin-from-cache-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [c9dd](https://wordpress.org/support/users/c9dd/)
 * (@c9dd)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/exclude-plugin-from-cache-2/#post-9990364)
 * [@tatof](https://wordpress.org/support/users/tatof/) did you fix this?
 *  Thread Starter [tatof](https://wordpress.org/support/users/tatof/)
 * (@tatof)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/exclude-plugin-from-cache-2/#post-9993013)
 * Nope, I ended up disabling some features of w3 :(.
    Stopped the search for an
   solution but still would like to fix it the right way.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude plugin from cache’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [exclude](https://wordpress.org/support/topic-tag/exclude/)
 * [plugin error](https://wordpress.org/support/topic-tag/plugin-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [tatof](https://wordpress.org/support/users/tatof/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/exclude-plugin-from-cache-2/#post-9993013)
 * Status: not resolved