This PR implements a dumb local cache for files fetched remotely. Cache location defaults to <user_cache_dir>/kubecfg. Files are written to subdirectories matching the "path" fields in the URL.
The location of the cache is configurable with the --cache-dir flag.
This PR implements a dumb local cache for files fetched remotely. Cache location defaults to
<user_cache_dir>/kubecfg
. Files are written to subdirectories matching the "path" fields in the URL.The location of the cache is configurable with the
--cache-dir
flag.