method Creature.prototype.clearCache Creature.prototype.clearCache(from?: number,to?: number,): void Clear the cache of connections. Parameters optional from: number = -1 The starting index of the cache to clear. optional to: number = -1 The ending index of the cache to clear. Return Type void