disableCache

Disables the Factory cache. The function must be called before the cache is initialized (i.e., before any call to the to method) and should be called once.

Throws

When the cache was previously initialized or configured.