Hacker News new | past | comments | ask | show | jobs | submit login

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




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: