Added template cache for performance
Moved widget loaders from render template