feat(externs): Adds templating to the Cache object