Re: Buildpack Cache
Stephan Merker
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?
Best regards, Stephan
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
Hi Stephan,
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 staging.
Usage of the cache is documented here: https://docs.cloudfoundry.org/buildpacks/understand-buildpacks.html
-Stephen
On Thu, Jun 14, 2018 at 10:31 AM Stephan Merker <stephan.merker@...> wrote:
|
|