code: def init_disk_cache(self):
          
          try:
              # Cleanup old disk cache files
              path = self.disk_cache_location
              os.remove(path)
          except Exception:
              pass
          self.disk_cache_location = os.path.join(tempfile.mkdtemp(), 'cache')
docs: Initialize the on-disk version of the cache.