Re: Buildpack Cache

Stephen Levine

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.


On Thu, Jun 14, 2018 at 10:31 AM Stephan Merker <stephan.merker@...> wrote:



is there documentation available that describes how the buildpack cache works?


I found the following info:

“The Task downloads buildpacks and the app’s buildpack cache, if present.”


I wonder how often the buildpacks and artifacts like JVM, Tomcat etc. are downloaded and how they are cached? Is this cache per app, per diego cell, CF global?

I’m talking about the default online buildpacks.





Join to automatically receive all group messages.