I configured Varnish. And Everything works fine. But some blocks are cached (but they shouldn't). I use Turpentine extension. For example in my layout:
<reference name="left">
<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
</reference>
In turpentine_esi.xml
I have:
<reference name="catalog.compare.sidebar">
<action method="setEsiOptions">
<params>
<access>private</access>
<flush_events>
<catalog_product_compare_add_product/>
<catalog_product_compare_remove_product/>
<catalog_product_compare_item_collection_clear/>
</flush_events>
</params>
</action>
</reference>
But when I add product to compare(via ajax) the compare block's info didn't flush.
Also, if I restart varnish
, compared product appeared.