Caching search results for performance