esp_detect_cache_dir function

Detect cache dir for list("mapSpain")