XFOptimize - Minify, Preconnect & Preload Addon for Xenforo 2 1.0.1 Release Candidate 1

  • Response times may be somewhat delayed over certain days over the holiday period. Apologies if you experience any wait times and all inquiries are being addressed.
  • Our SEO addon did not make Christmas even release as was hoped, but is quickly being finalized for its first public release! Please stay tuned for the official launch here at the store, or by following the sneak preview thread at Xenforo.com.
  • Our new powerful addon, SEO & Index Tools is almost released for Early Access! Early customers will be able to beta test the addon at a lower, locked-in license price. Stay tuned for announcements!

Change log

  • 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)

Release notes

To update your theme, please download the latest version at:

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


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:
<script type="text/javascript">
        alert("Hello World");

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.