Add template caching/precompile to server environments