ironsmile / euterpe

Self-hosted music streaming server 🎶 with RESTful API and Web interface. Think of it as your very own Spotify! ☁️🎧
https://listen-to-euterpe.eu
GNU General Public License v3.0
537 stars 44 forks source link

Do not gzip media files over HTTP even when gzip setting is on #26

Closed ironsmile closed 3 years ago

ironsmile commented 6 years ago

The gzip handler should not gzip media content. This has no point since savings will be small for mp3 files and the like which are more or less compressed already as much as possible. Ideally it should detect content type here and make a decision based on some configuration. This have the following benefits:

ironsmile commented 5 years ago

This might have been done already.

ironsmile commented 3 years ago

Yea, the /file/ and /album/ paths are not gzipped. Different mechanism than the proposed but the same result.