winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Optimising package download bandwidth

Open pl4nty opened this issue 1 year ago • 2 comments

Description of the new feature / enhancement

Individual package downloads can consume significant bandwidth, especially in corporate environments with many users installing at a scheduled time. Is there a recommended approach for caching/optimising downloads?

Proposed technical implementation details

Package management systems like Intune have robust mechanisms for delivering content, eg Delivery Optimization and Microsoft Connected Cache. Could winget be configured to search a local path for pre-staged installer(s)?

pl4nty avatar May 06 '24 03:05 pl4nty

Related:

  • https://github.com/microsoft/winget-cli/discussions/2911
  • https://github.com/microsoft/winget-cli/issues/343

mdanish-kh avatar May 06 '24 14:05 mdanish-kh

We're working with the Delivery Optimization team on the mechanisms for enabling peer-to-peer caching in the enterprise. The DO downloader is the default one used by WinGet, but the rest of the infrastructure still needs to be enabled.

denelon avatar May 06 '24 16:05 denelon