Closed fabian-barney closed 1 year ago
Oh I just saw, that this post is from 2019! Are there any news to this issue?
If the Cookie Plugin is added externally, would it be still a problem?
Hi @fabian-barney, following up to see if this is still an issue that needs to be addressed. This repo is now moved to the workers-sdk monorepo where the templates live: https://github.com/cloudflare/workers-sdk/tree/main/templates
I'll close out this one but feel free to reopen it in the workers-sdk repo if the issue still needs to be addressed.
Problem: Cookie banners that are common for legal reasons store the visitors consent in cookies. These cookies may contain complex options the visitor has choosen or a simple true/false for consent.
We need different cached versions of the same URL for each variant of that cookie. And another version when it is completly unset.
Without caching all these different versions by cookie content the caching becomes really pointless.
Current caching strategies lead to unlawful behaviour in the following case: