check cache before fetching a template in setTemplate
Merge branch 'master' of github.com:jillix/crud