3

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.

closed as off-topic by brentwpeterson, Marius Jan 5 '15 at 14:13

  • This question does not appear to be about the Magento e-Commerce platform within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Have you contacted the vendor? – Amasty Aug 23 '14 at 18:14
  • Not yet, I want to find reason firstly – sergio Aug 26 '14 at 12:19
  • Are you using EE FPC (or any other full page caching module) in addition to Turpentine? Most are not compatible with Turpentine. Have you, by chance, changed the default compare block in your theme? – wlvrn Sep 6 '14 at 4:21
  • No, I disabled FPC. I will try to modify block – sergio Sep 6 '14 at 6:05
  • 1
    This question appears to be off-topic because it is about Turpentine, a third party module made by Nexcess – brentwpeterson Jan 5 '15 at 13:34