Update ContentController to support natively accessing the layout and viewfile for rendering, and to cache it to speed up the viewfile performance