Add HTTP response disk cache. As the underlying library the "github.com/gregjones/httpcache" is used.
This implementation is heavily inspired by they Kubernetes approach for the kubectl.
By default, the cache will be saved in HOME dir under .cdeowners-validator/cache/http/ folder. This can be changed by setting the HTTP_CACHING_DIRECTORY="/tmp/cache"
Description
This implementation is heavily inspired by they Kubernetes approach for the kubectl.
By default, the cache will be saved in HOME dir under
.cdeowners-validator/cache/http/
folder. This can be changed by setting theHTTP_CACHING_DIRECTORY="/tmp/cache"
Results: Checking the https://github.com/kyma-project/kyma repository:
==> Executing Valid Owner Checker (16.366229522s)
==> Executing Valid Owner Checker (844.978984ms)