we use java to render our templates on the server side.
https://developers.google.com/closure/templates/
And yes response times, it makes a massive massive difference in perceived responses.
Our stack is the same stack which gmail uses (we use the full closure suite so compiler, templates, stylesheets, linter and library)