Add caching for RenderEmber template

Add caching for RenderEmber template