GDPR icon indicating copy to clipboard operation
GDPR copied to clipboard

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

Open briceTouck opened this issue 6 years ago • 0 comments

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

briceTouck avatar Mar 20 '19 16:03 briceTouck