Incompatibility with Breadcrumb caching and current page title

Created on 22 June 2017, almost 8 years ago
Updated 12 March 2025, 28 days ago

We have a site running through Acquia, which has a very powerful Varnish cache running on it. In all dev environments, there's no problem. However, on this live environment, the breadcrumbs are seriously wrong. When viewing "John Smith", it will give the breadcrumb for "Jane Sim".

Even outside of this context, the menu seems to get munged by randomly cached results, I presume because this module is dynamically modifying the menu and that causes Varnish to have a fit.

Does anyone have any suggestions on how this could be solved, or if it's a fundamental problem with how menu_position works (rather than something simpler which just generates the breadcrumbs)?

The other odd thing is that it isn't only for anonymous users, it appears to give false results when logged in, too. Different logins, browsers, all give different results. It's rather a mess!

Thanks
Matt

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Maffoo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024