-
Notifications
You must be signed in to change notification settings - Fork 73
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
every time redirecting to my account page when i click home page #26
Comments
Hi @sivajik34 , thank you for your information. To provide offical support for Varnish, I have to dig deeper into the mechanics of Magento2+Varnish first, so this issue may take a while before I can provide a solution. |
More Information. observation : customer_session_init event is not calling on home page & some other cms pages. |
hi @sivajik34 , thanks for the additional information. Sadly I am not able to reproduce your issue at the moment. |
Magento 2.0 Enterprise ,On every browser I'm facing this issue. no other modules influenced. |
Hi @sivajik34 , it seems the Magento 2.x Enterprise Edition works the Page Cache differently as the Community Edition and this may cause the described problems. We do not have the EE at hand, so it is not possible for us to test the module against it. |
I'm having a similar problem which is caused by the browser caching the original 302 redirection response. So for example if you go to a product page the browser will remember that product should go to the login page. After you are logged if you go that that product page again, the browser will remember the redirection and send you to the login page again which then redirects you to the My Account page since you're logged in. I fixed this problem with varnish at least by adding a "set beresp.http.Cache-Control" the default Magento varnish config
in sub vcl_backend_response But it would probably be good for the plugin itself to also make sure its passing proper cache control headers when doing a redirect? |
Hi @cowmix88 , thank you very much for this contribution, we will look into this. |
After login every time redirecting to my account page when i click home page.
We have configured varnish cache.
Some times if i delete browser cache & refresh varnish it seems working fine.
The text was updated successfully, but these errors were encountered: