New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not all files are cached #3073
Comments
What you're referring to seems to be more of a proxy cache, isn't it? As for your caching settings, we really recommend against putting large binary packages into our dependency cache, that will give you little to no speed improvement usually. See our docs. You'll be much better off pulling these binaries directly from S3, which will also circumvent the caching oddities you're seeing. |
Our cache is useful for caching dependencies, e.g. Ruby or PHP libraries, or Maven dependencies, it's not suitable for caching binary packages or SDKs. |
Isn't a SDK a "build time dependency"? So are you saying travis-ci is not suitable for the type of builds I am trying to do? |
No, I was saying that our cache isn't suitable for the kind of files you want to store in it. |
Thank you for the clarification. |
I my .travis.yml file I am setting a matrix with 4 different URLs which I would like to cache (SDKs for 4 different platforms); however, it appears that only 1 of the 4 is actually cached.
https://github.com/probonopd/announce/blob/master/.travis.yml
Wouldn't it a better idea to cache downloads on an URL basis, i.e., have a "cached-wget" command that tries to retrieve files from a local (shared for all travis-ci users and projects) cache, and only downloads from the Internet if the cache doesn't return the requested file?
The text was updated successfully, but these errors were encountered: