ConstReadonlyclear: 1Deletes the ambient cache's resources and frees the space they used. Offline regions keep their resources.
Readonlyinvalidate: 2Keeps the ambient cache's resources, but makes maps check each one with the server before they use it again. Offline regions keep their resources as they are.
Readonlypack: 3Compacts the whole database file to free the disk space that it no longer uses.
Readonlyreset: 4Deletes the whole database, offline regions included, and starts an empty one.
A maintenance action on a runtime's cache database.
The cache database is the file that
RuntimeOptions.cachePathnames. It holds the ambient cache, meaning the resources that maps loaded, and the offline regions.See
mln_cache_database_operationin the C API reference.