Thanks for the info I will give a try as well.Created a new page rule based on a post I found on the site.
CloudFlare Page Rules
For xf 2.x, what are the three must-have default Cloudflare Page Rules that everyone should be using? Odd that there's no real definitive guide on this (that I can find anyway).xenforo.com
Whether the score increase is because of that, I can't say 100% but the score increased after that change was turned on.
Get this error during testing. used the recommended settings and then tested a bunch of combos of settings to see if it would get about a D rating on gtmetrix, no luck.
Here's the error:
Code:ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/Nulumia/XFOptimize/Listener.php:86 Generated by: Unknown account Dec 31, 2021 at 2:27 AM Stack trace #0 src/addons/Nulumia/XFOptimize/Listener.php(86): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/httpd/htm...', 86, Array) #1 src/XF/Extension.php(69): Nulumia\XFOptimize\Listener::appComplete(Object(XF\Pub\App), Object(XF\Http\Response)) #2 src/XF/App.php(2853): XF\Extension->fire('app_complete', Array, NULL) #3 src/XF/App.php(2117): XF\App->fire('app_complete', Array) #4 src/XF/Pub/App.php(455): XF\App->complete(Object(XF\Http\Response)) #5 src/XF/App.php(2354): XF\Pub\App->complete(Object(XF\Http\Response)) #6 src/XF.php(517): XF\App->run() #7 index.php(20): XF::runApp('XF\\Pub\\App') #8 {main} Request state array(4) { ["url"] => string(21) "/index.php?sw/offline" ["referrer"] => bool(false) ["_GET"] => array(1) { ["sw/offline"] => string(0) "" } ["_POST"] => array(0) { } }
Fixed along with a number of other reports here for the new patch, should be posting within 24 hours. I also added a new simple regex minifier if TinyMinify and HTMLMinifier don't work. Issues related to the TinyMinifer are also now fixed.Get this error during testing. used the recommended settings and then tested a bunch of combos of settings to see if it would get about a D rating on gtmetrix, no luck.
Here's the error:
Code:ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/Nulumia/XFOptimize/Listener.php:86 Generated by: Unknown account Dec 31, 2021 at 2:27 AM Stack trace #0 src/addons/Nulumia/XFOptimize/Listener.php(86): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/httpd/htm...', 86, Array) #1 src/XF/Extension.php(69): Nulumia\XFOptimize\Listener::appComplete(Object(XF\Pub\App), Object(XF\Http\Response)) #2 src/XF/App.php(2853): XF\Extension->fire('app_complete', Array, NULL) #3 src/XF/App.php(2117): XF\App->fire('app_complete', Array) #4 src/XF/Pub/App.php(455): XF\App->complete(Object(XF\Http\Response)) #5 src/XF/App.php(2354): XF\Pub\App->complete(Object(XF\Http\Response)) #6 src/XF.php(517): XF\App->run() #7 index.php(20): XF::runApp('XF\\Pub\\App') #8 {main} Request state array(4) { ["url"] => string(21) "/index.php?sw/offline" ["referrer"] => bool(false) ["_GET"] => array(1) { ["sw/offline"] => string(0) "" } ["_POST"] => array(0) { } }
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...
ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/Nulumia/XFOptimize/Listener.php:120
Generated by: bert38 Jan 9, 2022 at 4:15 PM
Stack trace
#0 src/addons/Nulumia/XFOptimize/Listener.php(120): XF::handlePhpError(8, '[E_NOTICE] Tryi...', 'sr...', 120, Array)
#1 src/XF/Extension.php(69): Nulumia\XFOptimize\Listener::appComplete(Object(XF\Pub\App), Object(XF\Http\Response))
#2 src/XF/App.php(2853): XF\Extension->fire('app_complete', Array, NULL)
#3 src/XF/App.php(2117): XF\App->fire('app_complete', Array)
#4 src/XF/Pub/App.php(455): XF\App->complete(Object(XF\Http\Response))
#5 src/XF/App.php(2354): XF\Pub\App->complete(Object(XF\Http\Response))
#6 src/XF.php(517): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(25) "/whats-new/posts/3355480/"
["referrer"] => string(92) "https://our-url/threads/bilder-zur-wahl.27115/page-2"
["_GET"] => array(1) {
["/whats-new/posts/3355480/"] => string(0) ""
}
["_POST"] => array(0) {
}
}
Are you using automatic preconnect detection, Priority preload and HTMLMinifier with a decent amount of the minimization options checked?I got it setup, but didn't really see much of a difference. Not sure what I'm doing right/wrong.
This only affects you if you're placing CDATA tags on your site with Javascript. The minifier has a hard time working with them, so you should leave the "Minify script tags" option unchecked if you're using CDATA.
Unfortunately, my friend, there are problems after the updateAre you using automatic preconnect detection, Priority preload and HTMLMinifier with a decent amount of the minimization options checked?
Feel free to share your reports from something like GTMetrix or Lighthouse. There's a huge amount of variables which could be revealed such as excessive third party script, style issues, etc.
This only affects you if you're placing CDATA tags on your site with Javascript. The minifier has a hard time working with them, so you should leave the "Minify script tags" option unchecked if you're using CDATA.
I'm still testing some solutions to hopefully allow compression of scripts containing this tag.
Will there be an update for the TH Nodes plugin?
An exception occurred: [ErrorException] [E_NOTICE] Undefined index: host in src/addons/Nulumia/XFOptimize/AssetHandler.php on line 321
XF::handlePhpError() in src/addons/Nulumia/XFOptimize/AssetHandler.php at line 321
Nulumia\XFOptimize\AssetHandler::getAssetUrls() in src/addons/Nulumia/XFOptimize/AssetHandler.php at line 131
Nulumia\XFOptimize\AssetHandler::processAssets() in src/addons/Nulumia/XFOptimize/Listener.php at line 60
Nulumia\XFOptimize\Listener::appComplete() in src/XF/Extension.php at line 69
XF\Extension->fire() in src/XF/App.php at line 2853
XF\App->fire() in src/XF/App.php at line 2117
XF\App->complete() in src/XF/Pub/App.php at line 455
XF\Pub\App->complete() in src/XF/App.php at line 2354
XF\App->run() in src/XF.php at line 517
XF::runApp() in index.php at line 20
We use essential cookies to make this site work, and optional cookies to enhance your experience.