use doctrine/cache for caching Query class