always cache loaded templates to speed up our single resource view

Whenever a template is changed, the server now has to be restarted for the changes to take effect. Our single resource view now loads more than ten times faster than before (at least on my local development machine in `DEBUG` mode).