Cache templates by type.
Merge pull request #15 from BlaineSch/bug/cacheByType

Cache templates by type.