Moved detecting page path into view method out of showing a page
Added config to enable browser caching when building response in page render