Just remove cache-dir, no other file.
Almost thread-safe, process-safe. But strictly speaking, it’s not. But Practically, it’s you can assume the two.