For performance reasons, the returned GLUE records are cached on the first use. The current implementation could randomly cause a performance drop and increased memory use. This has been fixed.
Closes #5064
Merge branch '5064-rewrite-glue-cache-in-qpzone' into 'main'