[OzzModz] XFOptimize - Minify, Preconnect & Preload

XF2 Addons [OzzModz] XFOptimize - Minify, Preconnect & Preload 1.0.2 Release Candidate 4
XFOptimize speeds up your Xenforo forum and delivers pages faster, thanks to its minification

XFOptimize
Version: 1.0.2 Release Candidate 4

Changelog
  • Added improved compatibility for /View/ class extensions when other addons extend those same classes
  • 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

Release notes​

To update your theme, please download the latest version at:
https://www.nulumia.com/shop/my-downloads/

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.
Changelog
  • Fixed a bug which could cause appended preconnect URLs from appearing in some webmaster tools (Bing, Google etc)
  • Fixed a bug which could cause an error "Trying to access array offset of type bool"
  • Fixed several bugs which could occur when using the TinyMinify library
  • Added a new simple regex minification method
  • Adjusted minify PHP listener for slightly better efficiency
  • Minify listener now bails much earlier if no optimization methods are required
  • Risk level labels are now color coded for HTMLMinifier library (Lowest-High)
  • Added a new visual settings page layout with quicklinks to various speed testing sites (GTMetrix etc)
To update your theme, please download the latest version at:
https://www.nulumia.com/shop/my-downloads/

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

Overview

This update fixes a number of bugs reported by users, including PHP errors when using the TinyMinify library. Also, a new visual header has been added to the settings page, with quicklinks for speed testing tools.

A note on using <!CDATA> tags
Some users have reported front-end breakage when using the HTMLMinifier library and when CDATA tags are present. The following is an example of CDATA script:
JavaScript:
<script type="text/javascript">
<![CDATA[
alert("Hello World");
]]>
</script>

While a method is currently being worked on to fix this, it's still recommended to disable the "Minify script tags" option. A solution will be noted in a future release when added.

New visual settings page​

xfoptimize-admin-settings-header.jpg



Color coded labels!​

xfoptimize-admin-minify-labels.jpg
Top Bottom