Skip to main content

Module cache

Module cache 

Source

Functions§

cache_dir
Returns the cache directory for socorro-cli, creating it if necessary. Uses the OS-standard cache directory:
read_cached
Read cached data for a given key (filename). Returns None if the cache file doesn’t exist or is empty.
write_cache
Write data to cache with the given key (filename). Returns true if writing succeeded.