Comet Cache not compatible with GDPR Cookie Compliance Plugin

Hello-

Comet cache causes issues in the UX for the plugin GDPR Cookie Compliance.

If you look here, this is how it should look (you will see the popup for this plugin in the footer of the site): https://thinkwithyourheart.love/

Here on this site, after the most recent updates for the GDPR Cookie Compliance Plugin, this happens to the footer popup (scroll down the page to see it) and after disabling all plugins I found Comet Cache to be the culprit:
http://devwork.thinkwithyourheart.com/

Look forward to your insight,
Kim

Hi Kim.

Do you mean the format of the cookies message at the bottom of devwork.thinkwithyourheart.com?

CometCache isn’t caching that page… See at the very end of the source code, it says:

<!-- Comet Cache is NOT caching this page, because the current page contains _wpnonce or akismet_comment_nonce. Your current configuration states that pages with dynamicnoncevalues in the markup should not be cached. See http://wsharks.com/1O1Kudy for further details. -->

Maybe it’s something to do with HTML compression. Are you using that? Can you test disabling it to see if that changes the result?

If it’s the compression, you may want to read these:


Thanks for your response- Yes I am referencing the format of the cookies message at the bottom of the whole website- http://devwork.thinkwithyourheart.com. This only happens when comet cache is enabled.

I don’t have compression turned on so it is not that.

Look forward to your response.

I don’t know why…

I see that I can’t load the styles file for it, returns a 404: http://twyh-juvbir1l4vv.netdna-ssl.com/wp-content/plugins/gdpr-cookie-compliance/dist/styles/gdpr-main.css?ver=1.3.0&iv=149

I got that URL from the page you linked to. I see that the domain gets changed. If I use this address, the file loads: http://devwork.thinkwithyourheart.com/wp-content/plugins/gdpr-cookie-compliance/dist/styles/gdpr-main.css?ver=1.3.0&iv=149

So it may be related to the way that subdomain is set up. I don’t notice it being a problem for all the other resources being loaded, though.

You can also try adding a URI exclusion for the GDPR styles file. WP Admin > Comet Cache > URI Exclusions

I hope that helps! :slight_smile: