Magento Hole Punch With Varnish Cache
If You want to exclude your custom block from varnish cache then follow below solution. [php] <reference name=”block name”> <action method=”setEsiOptions”> <params> <access>private</access> <flush_events> <wishlist_item_save_after/> <wishlist_item_delete_after/> <sales_quote_save_after/> </flush_events> </params> </action> </reference> [/php] OR [php] <reference name=”block name”> <action method=”setEsiOptions”> <params> <access>private</access> <ttl>0</ttl> </params> </action> </reference> …