Add cache to views