Void toCache(a state, String cachedir, String cacheid, Int(String) verifier=strHash)
Arguments
state: The variable to store.cachedir: The directory to store tocacheid: The name of the stored objectverifier: An optional function to help ensure that the cache data is correct when reloaded.
Usage
Stores a cacheable variable to disk