-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 1.9.1 - [Recently Viewed Products] side block is being cached! #801
Comments
Can replicate on 1.9.1 |
Needed an ESI policy for left.reports.product.viewed
Just commited a fix for this to the devel branch if you'd like to test... |
I appreciate for your technical support. For sure I will test it. I will come back to you with more information related to the other issues I opened. All are based on 1.9.1 RWD default theme. |
I just installed the dev version and I can confirm now the block product.viewed is working as expected. I can see ESI START and ESI END tags inside the source code. Still testing these days. BTW was it easy to fix? |
It was a little hard to track down. There was an ESI policy set up for it by default, however there was a layout xml loading order issue that meant it was getting overridden, so the block was remaining cached with the whole page. This fix will be merged into master next time we merge, assuming no problems appear. |
I would like to ask you if it is a correct behavior of this block as follows: You already visited 3 products. Now go to a new category you will see those 3 products listed inside "Recently Viewed Products". Go visiting a product from this category. Now use GO BACK one page from browser. You will get the parent category for the visited product. Inside "Recently Viewed Products" there are the same 3 products even you visited another one.
Could this be considered an issue and it needs a fix? |
I come to you with an issue related to what I mentioned in my previous post. Using the links in Magento frontend it is showing correctly the page content. Let's say you visited a product page then you select parent category of the product clicking on parent category link. You will see in Recently Viewed Products side block the product you just visited. But when you use Back or Forward buttons in browser the page content won't refresh, Recently Viewed Products is unchanged. On tablets for example many users are using back button. This is not good, because the page content will not be refreshed using it. Do you have any idea how can I change the things in Magento or Turpentine in order to prevent Back/Forward buttons issue I told you about? It is a matter of adding some headers? Thank you! |
Bump! |
We've merged the fix for the recently compared and recently viewed blocks. I haven't looked yet, but I suspect that the recently added block issue you mentioned is related, so once I get a chance to investigate it'll hopefully be a quick fix! |
No problem. I still keeping an eye on testing. If you fix [Clear All] behavior these two issues are closed forever. |
Testing version installed from scratch, no other extensions. Magento CE 1.9.1 out of box, Varnish 3, Turpentine.
[Recently Viewed Products] side block is being cached! I tried to set up ESI policies for it but it is not working at all.
Please take a look to see what is going wrong. If you need a testing version just let me know. Thank you.
The text was updated successfully, but these errors were encountered: