similar issue to JENKINS-47725.
But in blueocean code:
Guava caches with weak keys are less performant than WeakHashMaps on their own (get/set carries more overhead) but they will avoid creating a thread bottleneck for anything but operations on the same key.
definitely +1 for Caffeine
pr using GuavaCache https://github.com/jenkinsci/blueocean-plugin/pull/1781
merged in master and cherry-pick in branch release/1.5
Released in blueocean 1.5.2 and 1.7.2.