This issue is automatically created based on existing pull request: #40681: fix: update gzip types and remove IE6 workaround in nginx config
Description
Expand the gzip_types list with missing compressible content types and remove the obsolete gzip_disable "msie6" directive from nginx.conf.sample.
Changes
1. Add missing gzip types
Add three compressible content types that are commonly served by Magento but not currently compressed:
| Type |
Purpose |
application/manifest+json |
PWA web app manifest files |
application/vnd.ms-fontobject |
EOT font files |
font/opentype |
OpenType (OTF) font files |
Note: WOFF and WOFF2 fonts are already internally compressed and should not be gzip-compressed (double compression increases size).
2. Remove gzip_disable "msie6"
This directive disabled gzip for Internet Explorer 6, which had a broken gzip implementation. IE6 was released in 2001 and has had effectively zero market share for over a decade. The directive is dead weight.
Files Changed
⭐ Support my work
Do you like the fix? Remember to react with "👍🏻" to get it merged faster,
Then Sponsor me on Github so I can spend more time on fixing issues like this one.
Learn more at https://github.com/sponsors/lbajsarowicz
This issue is automatically created based on existing pull request: #40681: fix: update gzip types and remove IE6 workaround in nginx config
Description
Expand the
gzip_typeslist with missing compressible content types and remove the obsoletegzip_disable "msie6"directive fromnginx.conf.sample.Changes
1. Add missing gzip types
Add three compressible content types that are commonly served by Magento but not currently compressed:
application/manifest+jsonapplication/vnd.ms-fontobjectfont/opentypeNote: WOFF and WOFF2 fonts are already internally compressed and should not be gzip-compressed (double compression increases size).
2. Remove
gzip_disable "msie6"This directive disabled gzip for Internet Explorer 6, which had a broken gzip implementation. IE6 was released in 2001 and has had effectively zero market share for over a decade. The directive is dead weight.
Files Changed
nginx.conf.sample⭐ Support my work
Do you like the fix? Remember to react with "👍🏻" to get it merged faster,
Then Sponsor me on Github so I can spend more time on fixing issues like this one.
Learn more at https://github.com/sponsors/lbajsarowicz