PHOENIX-MEDIA / Magento-PageCache-powered-by-Varnish

Community version which is available on Magento Connect (http://www.magentocommerce.com/magento-connect/pagecache-powered-by-varnish.html)
89 stars 49 forks source link

Cookie Restriction Mode issue when enabled #54

Open Emulator000 opened 8 years ago

Emulator000 commented 8 years ago

If Cookie Reistriction Mode is enabled, only the page with the banner is cached and showed to the user. How can render that block dynamically?

Emulator000 commented 8 years ago

I've tried something like: <esi:include src="http://www.mydomain.ext:8080/module/index/cookie"/> Inside the "cookienotiche.phtml" pointing to a custom controller but no luck!

MLisiecki commented 8 years ago

I have the same problem, after install varnish + PageCache, it seems that cookie "user_allowed_save_cookie", which is set on my computer, is not read by magento/varnish not let to read it.

I would like to set TTL = 0 for whole block but it is not so clear for me.