preheat_open.cache.save_to_cache

preheat_open.cache.save_to_cache(data, id, path='.cache/')

Save given data to an on-disk cache

Parameters:
  • data (Any) – data to cache

  • id (str) – cache identifier

  • path (str) – path on which to save the data

Return type:

None

Returns:

/