Hello @avizaz
I hope you’re doing well!
At the moment adding the Async option to the Hummingbird, plugin is under development. I’m afraid the Asset Optimization doesn’t async JS scripts yet.
Please see if these scripts are loading asynchronously by default, without Asset Optimization enabled. Perhaps it is a built-in feature into a plugin/theme that is used on your site.
Please advise,
Kind regards,
Nastia
Thread Starter
avizaz
(@avizaz)
Hi Nastia,
When the plugin is turned off there is no async, when it is it’s being added.
Once you have the async on/off option I will be able to use it.
Thanks,
Aviran.
Hello @avizaz
I trust you’re doing well!
I’m afraid the Hummingbird plugin doesn’t load JS scripts asynchronously. It is not coded that way and I can’t replicate it on my end.
The issue must be coming from something else. Please have a backup of your site, and leave only Hummingbird enabled, deactivate all other plugins. See if the issue is still there.
Also please create a staging site, with Asset Optimization enabled, and share a link with us so we could check this issue.
Have a good day!
Cheers,
Nastia
Thread Starter
avizaz
(@avizaz)
Hi Nastia,
Right now Hummingbird + Advanced Custom Fields PRO are the ones activated (the site will break without ACF).
Hummingbird on – async is added
Hummingbird off – async removed
https://staging.websitebuilderninja.com/
Hello @avizaz
I trust you’re doing well!
When visiting your site with ?avoid-minify=true, which deactivates all Hummingbird’s optimization, the async is still there. Please test for a conflict with the theme.
Deactivate the theme and re-check the assets from Hummingbird > Asset Optimization. Based on the page source looks like async could be coming from an active theme.
Please test your site without the ACF enabled too. As the ACF could have an option to async files.
Let us know how it went!
Kind regard,
Nastia
Hello @avizaz
I hope you are doing well!
We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.
Kind regards,
Nastia