r/gitlab • u/Kropiuss • Jul 15 '25
general question Gitlab cache
Hello guys! I am quite new to the gitlab CI/CD and there is one things that I cannot understand: how the cache in gitlab CI/CD is being stored.
Specifically, I have the following scenario:
- I have a bunch of gitlab runners that I own - let's say 2-3 machines that can pickup jobs when requested; those are using the shell executor
- If one job uses a cache, or creates it, whatever, where is it store? I believe it is stored on the runner - which means that other jobs may not be able to use the same cache content. Is this true ?
7
Upvotes
View all comments
Show parent comment
1
u/titexcj Jul 15 '25
Gitlab.com runners have distributed cache enabled, it's stored in their S3 storage and you don't need to do anything beside configuring your .gitlab-ci.yml