- 🇨🇭Switzerland berdir Switzerland
Closing as duplicate of 🐛 Optimize CacheContextsManager:::convertTokensToKeys()/optimizeTokens() Active , more recent and useful I think.
Ignore that, I was not correctly overriding the menu active trail service ( I have no idea why that isn't using the same pattern as the breadcrumb builder, though, which we could easily cache too).
convertTokensToKeys() is down to 4ms/3% now. 30% of that is in optimizeTokens(), simply because that is the place where we instantiate the context services. Everything is then below 1ms, which makes it hard to do much caching.
So we should try to cache it, the problem is invalidation.
We could try to cache them all but we don't know how they get invalidated.
Closed: duplicate
11.0 🔥
It affects performance. It is often combined with the Needs profiling tag.
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing as duplicate of 🐛 Optimize CacheContextsManager:::convertTokensToKeys()/optimizeTokens() Active , more recent and useful I think.