check that the cache directory exists and is empty at startup