Release v2.6.2
Perfmatters v2.6.2
What's new in v2.6.2
Perfmatters v2.6.2 was released on . We developed the perfmatters plugin with simplicity in mind. See the full changelog below and compare with the complete version history.
Release details
Released
1.1 MB
File unavailable
Changelog
Added
- support to automatically optimize and lazy load Elementor Atomic YouTube elements and legacy video widgets when Perfmatters iframe lazy loading is turned on. YouTube preview thumbnails are also supported, as well as Elementor image overlays if set for the video.
- request-level caching to excluded and forced lazy loading attribute arrays to prevent unnecessary calls.
- multiple stripos and str_contains (PHP 8) checks in lazy loading image and iframe functions to prevent expensive regex scans if tags don't exist on the page.
- new should_skip_request method in core LazyLoad class with request-level caching to prevent duplicate checks for WooCommerce pages and post-specific meta options.
- support to various General class functions to respect ?perfmattersoff.
- filters back to turn off WordPress' lazy loading and auto sizing styles when Perfmatters lazy loading is turned on.
- built-in JS and CSS exclusions for Woocommerce's dynamically added woocommerce-js body class.
Improved
- LazyLoad class into multiple subclasses for better maintainability.
Removed
- duplicate list normalization step before replacement across LazyLoad classes to reduce loop overhead.
Other
- Renamed previous Images class to ImageDimensions to make room for new Images lazy loading subclass.
- Translation updates.
Fixed
- an issue where certain lazy loaded tags were getting replaced globally in the document instead of only at the specific tag match instance.
Compatibility
- Requires WordPress
- 5.5
- Tested up to
- 7.0.1
- Requires PHP
- 8.1
Verified safe
Perfmatters v2.6.2 scanned clean with no security threats detected.
View full scan report