Add cache_dir to allowed paths