Hi everyone,
I would like to propose that we make the tag cloud macro async, with user and wiki as context elements. The macro is a wiki macro, so making it async is easy. The wanted effect is that the tag cloud would no longer block the loading of the dashboard and navigation panel, also in the administration, and thus make the bad performance of the tag cloud on large wikis with many tagged pages less severe. I wouldn’t enable caching as we have no built-in criteria to expire the cache.
While we should continue working on making the tag cloud faster, this won’t be easy, and I think making the tag cloud async would be a good and safe interim solution (that could also be kept when have a faster but possibly still slightly slow tag cloud implementation). My vision for making the tag cloud itself faster would be to move the tag cloud to being based on data from Solr after fixing some issues there, but it is unfortunately hard to say when that would be possible.
Any thoughts, any possible issues I’ve missed? There will be a visible flickering/layout shift when the tag cloud loads, but I think that’s minor compared to the whole page being slow to load.
For reference, this proposal is for XWIKI-25063.