How it works...
We started the recipe by configuring the optimization settings for the plugin. In the basic settings, Remove Metadata is enabled by default. Images uploaded to WordPress can contain a lot of metadata, such as author info, camera and manufacturer data, color settings, and much more user-specific data. This data increase the size of the image and the time to load it from the server and display it on the site. By using this setting, we can remove all the metadata of images while uploading them through the WordPress media uploader. So, the size of the image decreases to improve performance.
Then, we configured the resizing settings. We enabled the Enable Resize Detection setting. There can be scenarios where large images are uploaded ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access