Do not build view_paths on each request

Calling prepend_view_path on each request is too slow.