Caching the user query every 5 minutes.