Statistics say that WebP format can save over half of the page weight without losing images quality.. Maybe you want to support also less JPEG extension like jpe, jfif or jif add filter function extra itw extensions { $extensions = 'jpe $extensions = 'jfif $extensions = 'jif return $extensions } itw sizes. Maybe you want to disable WebP for thumbnails add filter function disable itw sizes { unset return $sizes } itw htaccess. Maybe you want to modify htaccess rules somehow add filter function modify itw htaccess { do some magic here return $rewrite rules } iwt disabled folders. Maybe you want to disable enable some other folders for bulk convert add filter function modify iwt disabled folders { do some magic here return $disabled } $images to webp->convert image. Maybe you want to generate WebP for other plugins like Fly Dynamic Image Resizer add action function fly images to webp { global $images to webp $images to webp->convert image }.. Enabled serve modules mod mime, mod rewrite.. Run Google Chrome and Dev Tools .. Go to Network tab click on Disable cache and select filtering for Img .. Interested in development.., check out SVN repository, or subscribe to the development log by RSS... 1.0.
Read more