Title: is your plugin compatible with cache plugins?
Last modified: September 1, 2016

---

# is your plugin compatible with cache plugins?

 *  Resolved [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-your-plugin-compatible-with-cache-plugins/)
 * Hi, I am the developer of WP Fastest Cache. May I ask if you have tested your
   plugin with cache plugins?
 * [https://wordpress.org/plugins/content-warning-v2/](https://wordpress.org/plugins/content-warning-v2/)

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

 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-your-plugin-compatible-with-cache-plugins/#post-7705338)
 * Hey Emre,
 * Interesting question. I’ve not tested this with any specific caching plugin no.
   However, if you have any issues I’m always open to pull requests or even a simple
   discussion.
 * The plugin uses jQuery cookie to handle cookies. Sometime ago, I did have issues
   with W3TC using PHP’s set_cookie() methods obviously. If the page is cached it
   would circumvent that. So, I moved to javascript for cookies ( since the plugin
   is mainly javascript anyhow ).
 * The javascript ‘should’ work with page caching, and I’ve had no reports telling
   me otherwise. I can say that the java script only looks to see if the page should
   be gated, and if so, it then goes through the logic to determine rather or not
   to show the dialog, if the user has the cookie or not, etc…
 * Basically even if a user is using page caching ( which most do ), the ‘only’ 
   thing that’s cached is rather or not the page should be gated. The javascript
   handles the rest.
 * You can see the logic I’m talking about here in the source code. [https://github.com/JayWood/content-warning-v3/blob/master/js/cwv3.js#L128](https://github.com/JayWood/content-warning-v3/blob/master/js/cwv3.js#L128)
 * But, I’m not perfect ( though I’d like to be ) so if you find any issues please
   don’t hesitate to let me know or submit a pull request.
 *  Thread Starter [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-your-plugin-compatible-with-cache-plugins/#post-7705456)
 * If you use javascript, it should work with cache plugins surely 🙂 thanks for
   answer.
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/is-your-plugin-compatible-with-cache-plugins/#post-7705458)
 * Anytime, marking as resolved 🙂

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

The topic ‘is your plugin compatible with cache plugins?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/content-warning-v2_9968c9.svg)
 * [Agy - Age verification for WooCommerce](https://wordpress.org/plugins/content-warning-v2/)
 * [Support Threads](https://wordpress.org/support/plugin/content-warning-v2/)
 * [Active Topics](https://wordpress.org/support/plugin/content-warning-v2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-warning-v2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-warning-v2/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/phyrax/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/is-your-plugin-compatible-with-cache-plugins/#post-7705458)
 * Status: resolved