Version 2.4.4 of our Perfmatters WordPress plugin was released on May 8, 2025.
Changelog summary
- Added new Exclude Leading option for CSS background images.
- Added new perfmatters_lazyload_parent_exclusions filter.
- Added new perfmatters_css_background_selectors filter.
- Added new speculative loading mode option to disable the feature entirely.
- Refactored lazy element method to be more efficient when searching for multiple element selectors.
- Reworked the perfmatters_critical_image_parent_exclusions and perfmatters_leading_image_parent_exclusions filters to no longer need to process the page HTML through DOMDocument for better stability, faster parsing, and 30% less code.
- Fixed an issue with parent selector matching for fetch priority and lazy loading where only the first image tag would match if it was inside a nested container element.
- Fixed an issue where the CSS Background class would get added to child elements as well if they also contained a matching selector.
- Fixed a compatibility issue when using Perfmatters preloads alongside WP Rocket.
- Fixed a spacing issue with input row checkboxes in the plugin UI.
- Translation updates.