do not construct cache object on every request. this solves performance issues with large caches