This post has been moved to blog.kabir.sh/template-optimizations.