Hacker News new | ask | show | jobs
by slivanes 972 days ago
I think mostly because it’s less efficient byte transfer size, roughly +25%, and also it won’t be downloaded as an image in parallel.
2 comments

Gzip will fix this problem. But these ebessed imgaes are not cache-able.
Gzip or Brotli will help, but the result will still be bigger when base64 is in the middle.
The only problem with using any sort of compression in HTTP is that unless you add extra countermeasures, you open your page up to the BREACH vulnerability:

https://en.wikipedia.org/wiki/BREACH

That is a point