code: def cache_set(cache_dir, cache_key, content):
      
      filename = os.path.join(cache_dir, cache_key)
  
      with open(filename, 'w') as f:
          f.write(content)
docs: Creates a new cache file in the cache directory