use ViewCache to improve the performance.