microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.03k stars 1.43k forks source link

Optimising package download bandwidth #4448

Open pl4nty opened 4 months ago

pl4nty commented 4 months ago

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)?

mdanish-kh commented 4 months ago

Related:

denelon commented 4 months ago

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.