I think it's impossible to enforce this worldwide, and any website can be based in any jurisdiction. The consent popups are also super annoying. It's also hard to define what "essential" means.
I'm personally much more in favor of the technological solution: I block all cookies and only explicitly enable them on websites that I need to log in to.
I'm personally much more in favor of the technological solution: I block all cookies and only explicitly enable them on websites that I need to log in to.