We just enabled the the browser image optimization feature by default on Discourse.
You can learn more about how it work in our blog:
If necessary, a site administrator may disable it using the site setting
composer media optimization image enabled.
This new feature is also not compatible with disabling
strip image metadata. So you will want to disable this new feature if you want to preserve images EXIF.