Improved query cache.