Use view path as Resolver instead of String

Resolver caches compiled templates.
This speeds up rendering time dramatically.