When you check out telemetry data that Mozilla collects about hangs in its Firefox web browser, you will notice that plugin-related issues are over-represented there.
Update: The situation has changed significantly in recent years. Firefox dropped support for nearly all plugins in recent versions of the browser. Adobe Flash support is discontinued at the end of 2020 and that marks the end of plugin support in the Firefox web browser. End
Plugins in this context refers exclusively to NPAPI plugins that the Firefox web browser supports such as Adobe Flash.
Whenever a Firefox user visits a web page that runs code that requires plugins, plugins need to be initialized.
Aaron Klotz broke the steps down on his blog post back in June 2014:
The most frequent hang cause is the creation of the plugin-container process followed by the plugin startup process taking too long to go through the steps listed above.
Aaron worked on improvements for the process in 2014 by initializing plugins asynchronously. In particular, it will load the first four steps asynchronously to improve loading time and reduce the likelihood of hangs or slow downs caused by the initialization.
Check out the demo video below which shows an early prototype that Aaron created. It demonstrates the loading of a page using Flash with and without asynchronous plugin initialization.
As you can see in the demo, loading is faster and smoother with asynchronous plugin initialization enabled in the browser.
Mozilla launched the feature in Nightly yesterday. This means that Firefox Nightly users can use it right now, provided they have updated the version of the browser to the latest build.
It needs to be enabled before it can be used though:
This enables the feature and should improve plugin initialization in Firefox significantly. The feature is being tested currently and Mozilla asks users to file bugs if they notice issues while using Firefox with it enabled.
It is not clear yet when it will land in the stable version of the browser but I'd expect it to be released to it in the first half of 2015.
Firefox users who load sites that use plugins regularly in the browser should see noticeable improvements in loading time and a decrease in hangs or slow downs after activating the new feature.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.