{"action":"opened","issue":{"url":"https://api.github.com/repos/caciobanu/improved-magento-layered-navigation/issues/73","repository_url":"https://api.github.com/repos/caciobanu/improved-magento-layered-navigation","labels_url":"https://api.github.com/repos/caciobanu/improved-magento-layered-navigation/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/caciobanu/improved-magento-layered-navigation/issues/73/comments","events_url":"https://api.github.com/repos/caciobanu/improved-magento-layered-navigation/issues/73/events","html_url":"https://github.com/caciobanu/improved-magento-layered-navigation/issues/73","id":158824158,"number":73,"title":"ESI Blocks break the extension. Varnish Caching Magento 1.9.2","user":{"login":"hannaaaaah","id":18510402,"avatar_url":"https://avatars.githubusercontent.com/u/18510402?v=3","gravatar_id":"","url":"https://api.github.com/users/hannaaaaah","html_url":"https://github.com/hannaaaaah","followers_url":"https://api.github.com/users/hannaaaaah/followers","following_url":"https://api.github.com/users/hannaaaaah/following{/other_user}","gists_url":"https://api.github.com/users/hannaaaaah/gists{/gist_id}","starred_url":"https://api.github.com/users/hannaaaaah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannaaaaah/subscriptions","organizations_url":"https://api.github.com/users/hannaaaaah/orgs","repos_url":"https://api.github.com/users/hannaaaaah/repos","events_url":"https://api.github.com/users/hannaaaaah/events{/privacy}","received_events_url":"https://api.github.com/users/hannaaaaah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-07T02:58:08Z","updated_at":"2016-06-07T02:58:08Z","closed_at":null,"body":"Hi,\r\n\r\nI am developing a new Magento 1.9.2 store for my business. I will be using Varnish(&Turpentine). I am having trouble with ESI blocks and catalin_seo layered navigation extension. \r\n\r\nWhen I select an attribute, it changes the url in the url bar like it should however the products displayed do not update and I get the error “An error occurred, please try again later.”\r\n\r\nWhen I disable ESI blocks in cache management on the backend, it starts working perfectly again. However I need to use ESI blocks.\r\n\r\nI have tried using the turpentine “Fix Product List Toolbar” but this does not fix it. I have tried using custom esi xml to make the block cache privately and ttl 0 but this does not work either. Weirdly, it works on catalogsearch page though!\r\n\r\nI’ve also tried disabling varnish cacheing on `<catalog_category_layered>` block only using `<turpentine_cache_flag value=\"0\"/>` and this does not work either.\r\n\r\nI have managed to get catalin_seo to work on catalogsearch page by adding the following to catalogsearch.leftnav and product_list_toolbar under `<catalogsearch_result_index>`  - \r\n\r\n`<action method=\"setEsiOptions\">\r\n                <params>\r\n                    <access>private</access>\r\n                    <method>ajax</method>\r\n                    <ttl>0</ttl>\r\n                </params>\r\n            </action>`\r\n\r\nHowever when I add the above to catalog.leftnav and product_list_toolbar under `<catalog_category_layered>` , the attribute selector in the left sidebar disapears. I have tried using method esi on some of them too.\r\n\r\nI have also tried removing `<reference name=\"messages\">` block from app/design/frontend/base/default/layout/turpentine_esi.xml which didn't fix it. Enable ajax flash messages is enabled under turpentine options. Whenever I make changes, I flush the varnish cache from the backend of Magento and also purge the entire cache from my hosting panel, I then purge my browser cache and history and use an incognito page.\r\n\r\nI am using a custom version of the RWD theme, however to check it isn't something I have inadvertently broken, I created a fresh install of magento, used the base rwd theme and tried it on this, which didnt work either, which rules out my theme being the problem.\r\n\r\nAny ideas on what I should do to fix it? I'm guessing it is a tweek to the esi xml but no idea what, i've tried everything I can think of.\r\n\r\nMy url is: http://magento-19916-46239-119771.cloudwaysapps.com/shop-by.html\r\n\r\nI've attached my catalin_seo.xml and turpentine_esi.xml files below. I have had to change the extension to .txt to upload them here.\r\n\r\n[catalin_seo.txt](https://github.com/caciobanu/improved-magento-layered-navigation/files/301736/catalin_seo.txt)\r\n[turpentine_esi.txt](https://github.com/caciobanu/improved-magento-layered-navigation/files/301737/turpentine_esi.txt)\r\n\r\n\r\nThanks for your help! I am tearing my hair out haha.\r\nHannah :)\r\n\r\nP.s Something I have noticed when comparing the page source of the catalogsearch page to regular catalog pages is that product_list is called as an esi block on catalogsearch page(the one thats working) however product_list on the normal catalog pages (the ones that don't work) the block is regular html."}}
{"actor":{"display_login":"hannaaaaah"}}