Implemented cache for home queries (recent, mostvisited)