cache common query results to decrease initial loading time.