Below you will find pages that utilize the taxonomy term “Node”
Optimizing Images
I started down a little bit of a rabbit hole when I wanted to optimize and scale the images on my site. As you can see there are a lot rather large images on my site, which I like the look of. I just don’t like that some of them were greater than 5MB each!
I started out by searching for a basic bulk image processing tool. I wanted something that wasn’t bloated, janky, or broken. It turns out that wasn’t easy for me to find. Instead I found a few node modules that would do what I wanted. First I started using imagemin-mozjpeg - npm, which is great for the optimization piece, and great for jpegs, but I also want to optimize pngs and resize my files. That got me looking further. I ended up settling on sharp, a library that can do all the processing I wanted.