- Issue created by @pacproduct
- Merge request !13Improve performance around micro-sites' cache tags generation. → (Open) created by pacproduct
- 🇫🇷France pacproduct
I suggested a merge-request (now ready for review) which addresses all improvements I could think of without introducing any breaking change by default.
There's also an extra setting
micro_site.ignore_custom_user_cache_tags
that can be enabled for even better performance (completely avoiding loading user entities), but it's OFF by default as it may break some rare sites that have some kind of custom behavior around user cache tags.In our case (70 sites, some of them with up to ~5000 users), the list of sites takes:
- ~27s to load, with the vanilla micro_site module
- ~5s to load, with this issue queue's MR, without the extra setting enabled
- ~500ms to load, with the extra setting enabled
- dedfcec2 committed on 8.x-1.x
Issue #3536401 by flocondetoile: Performance issue when listing micro-...
- dedfcec2 committed on 8.x-1.x
- 🇫🇷France flocondetoile Lyon
Can you trigger again tests on the MR ? They failed before because gitlab try to run them on D11 which is the default.
- 🇫🇷France simon georges Rouen, France
We are working with the D11 merge request from 📌 Automated Drupal 11 compatibility fixes for micro_site Needs review in addition to this one, I don't know if it can explain the eventual test bot failure.
- 🇫🇷France flocondetoile Lyon
I guess you are on D11 with the MR12? Commented the MR.