Optimising package download bandwidth
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)?
Related:
- https://github.com/microsoft/winget-cli/discussions/2911
- https://github.com/microsoft/winget-cli/issues/343
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.