document when cache_dir is nil