code: function swipeTick (cache) {
    const keys = Object.keys(cache.entries)
    if (keys.length > 10000) {
      cache.entries = {}
      console.warn(
        'Cache inMemory reached max (10000) number of entries, all keys now being deleted.'
      )
      return
    }
  
    const now = Date.now()
    for (let index = 0; index < keys.length; index++) {
      let key = keys[index]
      let entry = cache.entries[key]
      if (now - entry.created > entry.ttl) {
        delete cache.entries[key]
      }
    }
  }
docs: NOTE: This method mutates the cache.entires array.
  @param {Object} cache - Object that holds a reference to list of cache entries