Setup for view caching