Synchronously writes the cache index out to disk.
Contrast with [[email protected]], which writes pending cache *entries* to disk.
You must call this before exiting if you want your cache data to persist between sessions.
This is not thread safe and must be called only from the thread that created the Cache
this |
a Cache |