Skip to content

`curl` example in Cache dependencies in GitLab CI/CD

This documents explains caching mechanism as a way to avoid re-downloading stuff. There are example for go, python, ruby, php, etc... Yet it lacks the most basic example of using curl to download stuff from internet. I am downloading some installers using curl each times my job runs, it would be much more efficient to cache those installers instead.

https://docs.gitlab.com/ee/ci/caching/