Skip to content

Support local filesystem cache #341

@lbruun

Description

@lbruun

In reference to Optimize install-scripts in CI runs I suggest to add possibility to use a local filesystem cache.

Here's the background: CI systems normally have a "caching feature" which is really just some folder which is mounted on the filesystem when the job executes. It would be ideal if the .NET install scripts would support such feature in order to avoid constantly fetching the SDK package from the Internet.

Specifically I suggest a new optional parameter:

   --filesystem-cache   <path>
           If specified, the script will check first in this location before going to this Internet to fetch files. 
           By re-using this folder, repeated downloads of the same file can be avoided. 

I'm proposing this not as a way to do offline installs, but as a way to speedup the download-and-install experience. Thus, the script may still go to Internet to download smaller files (e.g. metadata files), but use the cache to avoid repeatedly downloading larger files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions