I was able to optimize all other js files with Speed Booster Pack(move files to the footer and defer) but it doesn’t work for the files above.
Link to the PageSpeed result
I would appreciate any help with this issue.
Your site isn’t actually loading those files, those are just fallbacks in case the theme you’re using is loading an older version of jQuery. If you want to remove it, you can add the function below.
Hope this helps and let us know if we can assist further!
thank you, it fixes the issue
only one question more, are you using with bb plugin the yui files:
I have problem to optimize them on another website. It’s strange because on metapartner website I don’t see these files and I have bb plugin installed.
I believe the
yui-min.js is from the slidershow module. However, I am unable to find any
widget-base.css in the source. This is likely coming from another plugin or script.
I’m using the slideshow as a background in the row, so yes, you’re right and I think the css file is also from the slideshow module. I don’t see this file on the other pages or when I disable the slideshow.
I was able to fix the js file after adding a defer attribute to the script, but the css file is giving me hard time, as it’s external, not minified version with 2 lines of code. Even GTmetrix gives me 30 penalty points for using not minified version.
Is it possible to use for these 2 lines of csscode a minified version or embed it locally?
The only script that the builder loads is this one when the Slideshow module is used as it’s built on YUI…
The other YUI scripts/styles that you are seeing get loaded by that script after the page is loaded, so it shouldn’t actually affect your page load time. Those resources are in fact being deferred even though it does look like GTmetrix might not be seeing them that way.
Unfortunately, we don’t have control over the scripts/styles that the main YUI script loads, so the only way to change that is to use a different slideshow plugin.
Sorry I don’t have a better answer for you there.