Use cached template loading for performance reasons

Let's investigate using cached template loading to see if it helps with performance. This is my 2 cent contribution to performance improvements.