trewknowledge / GDPR

This plugin is meant to assist a Controller, Data Processor, and Data Protection Officer (DPO) with efforts to meet the obligations and rights enacted under the GDPR.
https://wordpress.org/plugins/gdpr/
GNU General Public License v2.0
149 stars 44 forks source link

gdpr[allowed_cookies] not generated systematically when server cache is enabled #249

Open briceTouck opened 5 years ago

briceTouck commented 5 years ago

Hi, i use WP Super Cache plugin and when is enabled gdpr[allowed_cookies] is not generated.

It seems to be a regular behaviour since gdpr[allowed_cookies] is set by php and i think it's intrinsically impossible to set cookie by php when the server cache is enable.

An alternative to this would be to generate a json file in the html page with the default cookie configuration and set cookie with javascript.

Maybe there is already an other alternative ?

Today website performance and especially server caching is essential...

Thank you