Add template's cache support
Merge pull request #3 from virpool/master

Add concept of template's cache support