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.

8
  • Have you contacted the vendor?
    – Amasty
    Aug 23, 2014 at 18:14
  • Not yet, I want to find reason firstly
    – sergio
    Aug 26, 2014 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?
    – CVEEP
    Sep 6, 2014 at 4:21
  • No, I disabled FPC. I will try to modify block
    – sergio
    Sep 6, 2014 at 6:05
  • 1
    This question appears to be off-topic because it is about Turpentine, a third party module made by Nexcess Jan 5, 2015 at 13:34

0