Optimize - Minify, Preconnect and Preload

Add-ons Optimize - Minify, Preconnect and Preload 1.0.2 Release Candidate 4

Register & Get access to index
XFOptimize
Version: 1.0.2 Release Candidate 4

Changelog
  • Added improved compatibility for /View/ class extensions when other addons extend those same classes
  • Thanks to @SupaHigh
  • Like
Reactions: Mike05
  • Added new feature to not lazy load the first post attachment (now recommended by Page Speed Insights & GTMetrix)
  • Made numerous improvements to template modifications in order to prevent conflict with third-party addons and styles
  • Moved several search & replace functions to more reliable REGEX
  • Improved efficiency of some PHP handlers
  • Fixed an issue which could affect the head/title area in UI.X
  • Fixed an issue which could cause preload or preconnect URLs not to render in the head section of certain themes
  • Established base code for future shared UI & recommendations system with other Nulumia addons for a future update
  • Added several important compatibility fixes with [Nulumia] SEO & Index Tools
  • Added compatibility fixes for [Nulumia] Cloudflare Image Resizing
  • Added compatibility fixes for [XON] Lazy Image Loading
  • Updated option group order in the Admin -> Options list to be alphabetized among [Nulumia] addons
To update your theme, please download the latest version at:
wefwef

You must select "Overwrite files during install/upgrade" when upgrading to this version.

Overview

This update adds multiple small improvements, conflict fixes and greater efficiency for the PHP handlers. Additionally, a new feature is available via the settings page to disable lazy loading for the first post attachment (Above the fold / LCP) image of thread pages.

This is a new recommendation reported by both GTMetrix and Page Speed Insights, and can affect speed scoring. As such, this addon has been updated to reflect this metric.

Further, several key compatibility issues have been added for [Nulumia] SEO & Index Tools and [XON] Lazy Image Loading.

Finally, there are several tweaks to make XFOptimize work hand in hand with the new [Nulumia] Cloudflare Image Resizing addon.

New feature to disable LCP Lazy Load + note to disable switching mobile attachments when using Cloudfare Image Resizing:

1652861043582.png
Changelog

  • Fixed a bug which could cause server error logs related to "Cannot access property message on non-object" in certain situations
  • Fixed a bug which could cause miscellaneous "Cannot read property of null" errors
  • Fixed a bug which could cause server error logs for threads in some older versions of Xenforo
  • Added much more exit points where asset processor scripts will silently abort if there is no content to process (avoids server error logs)
  • Added a new option to enable/disable limiting of automatic preconnect domains (default: Off / limit 5)
Overview

This update addresses several user submitted bugs, specifically errors related to threads under certain conditions or versions of Xenforo. In addition, automatic preconnected domains can now be limited via a new setting.

1640051760431.png

Note that this setting will not be affected if you manually preconnect domains via other methods. This may change in the future if a solution is possible.

Big Thanks @DannyVilnev
  • Like
Reactions: Lovester
Back
Top Bottom