Build vips with mozjpeg instead of libjpeg-turbo. Mozjpeg is slower but has better compression. https://github.com/mozilla/mozjpeg https://libjpeg-turbo.org/About/Mozjpeg https://siipo.la/blog/is-webp-really-better-than-jpeg https://www.ctrl.blog/entry/webp-avif-comparison.html http://web.archive.org/web/20151204210024/http://people.mozilla.org/~josh/lossy_compressed_image_study_july_2014/
Config
This directory contains configuration files for Danbooru.
To configure your Danbooru instance, copy danbooru_default_config.rb to danbooru_local_config.rb and edit it. See danbooru_default_config.rb for details.
The only file here that end users need to be concerned about is danbooru_default_config.rb. The rest of the files here are internal Rails-related configuration files that end users shouldn't need to edit.