Skip to content

Download composer.phar compressed - #46

Merged
hackzilla merged 1 commit into
hackzilla:masterfrom
Seldaek:compressed-composer-download
Nov 30, 2026
Merged

hackzilla merged 1 commit into
hackzilla:masterfrom
Seldaek:compressed-composer-download

Conversation

@Seldaek

@Seldaek Seldaek commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Plain curl and wget don't request compression unless asked, so this downloads the full ~3.8 MB composer.phar. With --compressed (curl) or --compression=auto (wget 1.19.2+), getcomposer.org sends a brotli or gzip copy (~0.6-0.8 MB) and the client decodes it before writing the file, so the resulting phar, and any checksum check on it, is unchanged.

Context: I'm one of the Composer maintainers. Uncompressed phar downloads are over half of getcomposer.org's bandwidth, so we're going around fixing the most common sources. Thanks!

@hackzilla
hackzilla merged commit c422ff9 into hackzilla:master Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants