Due to the logic in Fusion to check whether to render the Consent configuration
Caches like Flowpack.FullPageCache and Varnish or others don't work properly
and one visitor influences the config for another one.
Also due to the uncached behaviour the page rendering is slower.
As discussed with @Nikdro in Slack I recommend moving the logic to Javascript
and solve any compatibility issue this way.
Due to the logic in Fusion to check whether to render the Consent configuration Caches like Flowpack.FullPageCache and Varnish or others don't work properly and one visitor influences the config for another one.
Also due to the uncached behaviour the page rendering is slower.
As discussed with @Nikdro in Slack I recommend moving the logic to Javascript and solve any compatibility issue this way.
One of the other solutions for this https://github.com/wysiwyg-software-design/Wysiwyg.CookieHandling solves this from what I see by introducing a HTTP Component that would at least work with the FullPageCache but needs more work to configure properly.