set templateCache (cache) {
    defaultWriter.templateCache = cache;
  }
Allows a user to override the default caching strategy, by providing an
object with set, get and clear methods. This can also be used to disable
the cache by setting it to the literal `undefined`.