Official guide says it's okay to use a global variable to cache templates:
http://golang.org/doc/articles/wiki/
First we create a global variable named templates, and initialize it with ParseFiles.
Can global variables be used to store DB handles and repository objects? Or do they have to be initialized for every request?
Thanks a lot