Skip to content
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

Breadcrumb is cached when approaching directly. #343

Open
supportnubix opened this issue Aug 21, 2019 · 0 comments
Open

Breadcrumb is cached when approaching directly. #343

supportnubix opened this issue Aug 21, 2019 · 0 comments

Comments

@supportnubix
Copy link

supportnubix commented Aug 21, 2019

We're running into issue with the breadcrumbs being cached somehow, shouldn't this not be cached out of the box?

Reproduction ( I could give live environment information if needed through private messaging ) are as followed:
If for example we visit a product through a direct link: example.com/product1 by copying the URL and navigating to a incognito browser we see that the breadcrumb is as "Home/Product" which is the expected result.

However if someone else now visits the website and navigates to this exact same product but instead of using a direct URL, they're navigating through the category list, we would expect the breadcrumb to be "Home / Category / Sub category / Product" but it stays as "Home/Product" but it is "Home / product" again.

However; When we clean the FPC cache, and do the same steps as above in the opposite direction, we also get the opposite result:
We clean cache.
Navigate through "Product" by using the category navigation, we see that it's correct and shows "Home / Category / Sub Category / Product"
Use another browser/system and navigate to the URL directly instead of using navigation, and you see the incorrect information "Home / Category / Sub category / Product"

Any way we can fix this easily? The breadcrumb should never be cached in this matter. We also tried adding "breadcrumbs" block to Lazy load, which made it dissapear. We've also added it to Dynamic blocks but this also made it dissapear. Are we doing something wrong or is this potentially a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant