toggle quoted messageShow quoted text
The system buildpacks are cached on the cell and bind mounted read-only into each staging container. Buildpack URLs (to a git repo or a zip file) are downloaded every time staging occurs.
Thanks for the explanation.
I have one more question: Is there any caching for the buildpack itself?
The CC coding looks like the buildpack is downloaded for each staging operation (either as zip file or via git clone).
Is there a difference between system buildpacks and custom buildpacks when it comes to download and caching?
From: cf-dev@... [mailto:cf-dev@...]
On Behalf Of Stephen Levine
Sent: Donnerstag, 14. Juni 2018 22:04
To: Discussions about Cloud Foundry projects and the system overall. <cf-dev@...>; Ben Hale <bhale@...>
Subject: Re: [cf-dev] Buildpack Cache
The buildpack cache (aka "app cache," or "build artifacts cache") is a per-app cache that is stored as a tarball in the blob store and recovered when an existing app is restaged (regardless of app code or buildpack changes).
Different buildpacks use this cache for different things. Ben Hale (CCd) may have more details about how the Java buildpack handles caching. In general, the purpose of the cache is to speed up build time and/or reduce data transfer during