close #4 and use standard convention for cache-dir