Revert "remove qcache"

This reverts commit 6d6b0e033169f11a1c7adfbcbfa3a420f403a151.