Image optimization proxy for WebP support mentioned at the developer meetup

If anyone is looking for the image optimizer proxy I mentioned at the developer meetup on January 16th, the source code is available at https://github.com/tineikt/js-image-optimizer

I guess it’s not strictly Enonic XP related, since it can be used in other contexts as well, but if you want your XP site to get a good Google Lighthouse rating, this is needed to fulfill the “Use next-gen image formats” requirement.

It’s not really written with other users in mind, so you might have to tweak some things to make it work for you. Your milage may vary :stuck_out_tongue: Most of the binaries for Windows are included in the repo. For linux you will need to install them yourself :slight_smile:

Let me know by creating a GitHub issue if you see any security issues etc.

4 Likes