add template caching/precompile to server environments