I installed WP Super Cache, and the popup appears when I have not accepted cookies.
Make sure to delete the cookie cookies_and_content_security_policy to get the popup again. If cookies are accepted that cookie is set, and the popup will not appear.
Thread Starter
valdic
(@valdic)
Hi Johan!
Thank you, I don’t know what I did yesterday, but today everything seems to be working fine.
🙂
Hello,
in fact, got the same problem : if a user refusing cookies navigates, wp total cache keep a “refused cookie version” and serve it.
ex:
refused cookie :
jQuery(window).on("load", function() { cookiesAndContentPolicyErrorMessage('', 'http://mywebsite.me'); });
instead of accepted cookies :
jQuery(window).on("load", function() { cookiesAndContentPolicyErrorMessage('https://*.youtube.com/ https://*.youtube-nocookie.com/ https://youtu.be/ https://*.vimeo.com/ https://www.google.com/', 'http://mywebsite.me'); });
So every visitor is not handled by his cookies-choices but by the first person who put in cache the page…
Any configuration known to avoid that ? or a known compatible cache plugin ? 🙂
You’re absolutely right! Using cache plugins that creates static files would do that. I’ve taken a look at this and might have a solution. That is to move that code to a separate file and give it a random parameter making it uncachable. Would you like to give it a try @canardwp, just email me at jonk@followmedarling.se and I’ll send you a beta version.