create a basic caching mechanism. so we can re-use the template for further purpose.
see index.html for working POC.