Caching main view's content