Refactored viewhelper and added an ability to prevent caching