Hacker News new | ask | show | jobs
by Syonyk 593 days ago
If you're using Jekyll, Jekyll Picture Tag (https://github.com/rbuchberger/jekyll_picture_tag) does the same thing. I use that in my pipeline for my blog, and I agree, it's very nice to just not have to worry about stuffing a 5MB image down someone's tiny cell phone connection.

Though I'm not sure many browsers actually use anything other than the largest image option...

I've debated encoding to AVIF as well, but that's such a painfully long process on a blog with somewhere around 8700 images.