first go at replacing original query cache mechanism with lru-cache