Refactor View
New saveCache() for view and template