cloudfoundry-attic / cfdev

A fast and easy local Cloud Foundry experience on native hypervisors, powered by LinuxKit with VPNKit
Apache License 2.0
227 stars 64 forks source link

Caching resources #113

Closed siennathesane closed 5 years ago

siennathesane commented 5 years ago

It would be awesome if there was a way to cache the downloaded resources so when you run cf dev start it can first check to see if there are locally available assets before attempting to download them.

For example, I wanted to test a theory with bosh while I'm in a public place, and it's trying to download all of the assets on public wifi.

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/168182972

The labels on this github issue will be updated when the story is started.

aemengo commented 5 years ago

@mxplusb Perhaps the output is misleading but that is the exact behavior of cf dev start. If the assets are already present locally, it will prefer using them over attempting to re-download.

Another possible source of confusion is that it performs a checksum validation on any locally present assets, which can take some time due to the actual size of the assets.

siennathesane commented 5 years ago

@aemengo if that's the existing behaviour, I think the output could be a little misleading.