How to make Varnish/Turpentine work

Hi there. We us your bookshop theme and struggle to get turpentine/varnish working with it. It seems the shopping cart is cached and so far we were notable to make it work correctly. 
We tried so far to add the ESI info to the mycart and jmtoolbar blocks by adding this to the turpentine_esi.xml (see attached code block). however this did not do the trick so far. We also tried to only add this info for mycart without the jmtoolbar, since this would be more efficient. Do you have experience with this? Which adaptations are needed to get the shopping cart into session based caching?
Thank you for your support! 

<reference name="mycart">
<action method="setEsiOptions">
<params>
<method>ajax</method>
<access>private</access>
<flush_events>
<sales_quote_save_after/>
<catalog_product_compare_add_product/>
<catalog_product_compare_remove_product/>
<catalog_product_compare_item_collection_clear/>
</flush_events>
</params>
</action>
</reference>
<reference name="jmtoolbar">
<action method="setEsiOptions">
<params>
<method>ajax</method>
<access>private</access>
<flush_events>
<sales_quote_save_after/>
<catalog_product_compare_add_product/>
<catalog_product_compare_remove_product/>
<catalog_product_compare_item_collection_clear/>
</flush_events>
</params>
</action>
</reference>

1 answer

Profile photo of Ziven Staff 100280.00 $tone June 6, 2016
Public

Hi There,
Thanks for contact us. But I see the issue you want help is customized from third-party. Please buy services from us. We will help you more perfect. 
Best Regards,
Ziven.

#1

Please login or Register to Submit Answer

Written By

Comments