Add cache to view