Skip to main content

Module freshness

Module freshness 

Source
Expand description

Cache freshness checking.

Compares the modification time of the save file against the cache file to determine if the cache is still valid.

Functionsยง

is_cache_fresh
Check if the cache file is fresh relative to the save file.
load_or_rebuild
Load a model from cache if fresh, otherwise parse the save file.