It really depends on your gitlab setup. If you are using dynamic runners. The cost of compressing and decompressing a distributed shared cache is about the same. We have large projects with 600 to 1 GB dependencies and distributed cache shaves about 50 to 60 seconds from a yarn install. Cache is not a small topic. Would love to see more advanced articles on this topic.
Yes, you are right. The most important is you know when use cache or not. in your case cache isn't good.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.