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 cacheid (
str
) – cache identifierpath (
str
) – path on which to save the data
- Return type:
None
- Returns:
/