add view cache