[lxc-devel] [PATCH 4/4] download: Improve cache handling

Serge Hallyn serge.hallyn at ubuntu.com
Tue Jan 14 20:38:22 UTC 2014


Quoting Stéphane Graber (stgraber at ubuntu.com):
> This adds a new --force-cache parameter which will force use of the
> cache even for expired images.
> 
> An expired image is now only flushed from the cache once a new one is
> successfuly downloaded (to avoid destroying the local cache when the
> host doesn't have internet connectivity).
> 
> The ID of the build in cache is also tracked so that we don't
> re-download something we already have (should only happen if we don't
> have a new build published by the time the previous one expires).
> 
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


More information about the lxc-devel mailing list