Title: Cache plugin seems to interfere with the functionality
Last modified: June 3, 2018

---

# Cache plugin seems to interfere with the functionality

 *  Resolved [Emanuele Feliziani](https://wordpress.org/support/users/giosensation/)
 * (@giosensation)
 * [8 years ago](https://wordpress.org/support/topic/cache-plugin-seems-to-interfere-with-the-functionality/)
 * If caching (W3 Total Cache) is enabled, the functionality is unreliable.
 * It’s hard to understand what is going on, but I noticed that the user can’t accept
   the cookies: clicking on Accept reloads the page, but the cookie banner is still
   there and the script tag has not been injected into the page (I have added a 
   console.log just to check and it is not showing up). The wpgdprc-consent cookie
   is set to accept, but it’s as if the plugin is not reading it at all.
 * If I disable the caching plugin, the cookie acceptance starts working again.
 * But here is the funny thing: if after having accepted the cookies I enable the
   caching plugin again, I am no longer presented with the cookie notice even if
   I clear the cookies and reload. Actually, even if I change browser, open a private
   tab, whatever.
 * For example, in the current stage of the cache, [this page](https://www.offerteinternet.net/reviews/fastweb-internet-senza-telefono-joy-adsl-fibra-senza-linea-telefonica/)
   doesn’t ask for the cookie. All the others do.
 * It looks like the cookie setting is somehow cached per-page in the backend and
   that changes how the pages are served regardless of what the consent cookie actually
   says. In fact, if I navigate away from that page and onto another, the cookie
   setting is lost and it starts asking for it again.
 * Am I the only one with this kind of problem?
 * Otherwise this is a lovely plugin. If only this caching problem gets solved…
 * I will leave the cache on for now so you can debug this, hope it doesn’t take
   you too long (I am aware today is a Sunday).
 * Thanks for anyone’s help with this.
 * **Note: to debug, make sure you see this message in the console “gdpr plugin 
   loaded the script”. That’s when you know the plugin has … yep, loaded the script.**
    -  This topic was modified 8 years ago by [Emanuele Feliziani](https://wordpress.org/support/users/giosensation/).
      Reason: Added a note for debugging
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-plugin-seems-to-interfere-with-the-functionality%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Donny Oexman](https://wordpress.org/support/users/donnyoexman/)
 * (@donnyoexman)
 * [8 years ago](https://wordpress.org/support/topic/cache-plugin-seems-to-interfere-with-the-functionality/#post-10358989)
 * Could you try to exclude the following file in your cache plugin:
 * `wp-content/plugins/wp-gdpr-compliance/assets/js/front.js`
 * Let me know if that works.
 *  Thread Starter [Emanuele Feliziani](https://wordpress.org/support/users/giosensation/)
 * (@giosensation)
 * [8 years ago](https://wordpress.org/support/topic/cache-plugin-seems-to-interfere-with-the-functionality/#post-10359118)
 * It doesn’t seem to be related. When I disable the whole cache plugin, the front.
   js file is still got from the browser cache on refresh (ie. after hitting the
   accept button), it’s not redownloaded from the server.
 * Anything else that comes to mind?
 *  [Donny Oexman](https://wordpress.org/support/users/donnyoexman/)
 * (@donnyoexman)
 * [8 years ago](https://wordpress.org/support/topic/cache-plugin-seems-to-interfere-with-the-functionality/#post-10367754)
 * I’ll check it out, might be a bug. Thanks for reporting.
 *  [Artur_G](https://wordpress.org/support/users/artur_g/)
 * (@artur_g)
 * [8 years ago](https://wordpress.org/support/topic/cache-plugin-seems-to-interfere-with-the-functionality/#post-10396327)
 * Hi the same problem here: it doesn’t seem to work with W3 Total Cache (or Cache
   Enabler) enabled. Is there any cache solution compatible with this plugin?
 *  [Artur_G](https://wordpress.org/support/users/artur_g/)
 * (@artur_g)
 * [8 years ago](https://wordpress.org/support/topic/cache-plugin-seems-to-interfere-with-the-functionality/#post-10396931)
 * Minor update: it seems to be working with Fastest Cache if you will exclude ‘
   wpgdprc-consent’ cookie from settings.

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

The topic ‘Cache plugin seems to interfere with the functionality’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gdpr-compliance_6396ab.svg)
 * [Cookie Information | Free GDPR Consent Solution](https://wordpress.org/plugins/wp-gdpr-compliance/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gdpr-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gdpr-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gdpr-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gdpr-compliance/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 5 replies
 * 3 participants
 * Last reply from: [Artur_G](https://wordpress.org/support/users/artur_g/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/cache-plugin-seems-to-interfere-with-the-functionality/#post-10396931)
 * Status: resolved