The Google Chrome and Firefox teams are both borrowing features from each others’ browsers as part of ongoing efforts to improve the speed and reliability of their projects.
This focus on improving browser performance has become a major concern for both browser projects, as both Chrome and Firefox have been increasingly characterized in recent years as slow and resource hungry.
The Chrome team was the first to announce a new feature towards improving performance when it revealed last week plans for what the company’s engineers are calling “back/forward cache” –or bfcache.
This feature, already present in Firefox and Safari for years, works by storing copies of the user’s recently visited web pages in the browser’s memory for longer periods of time.
If the user decides to go back and forward through the recently visited sites, these pages will be loaded from Chrome’s memory (cache) instead of being reloaded from scratch.
“Think of it as pausing a page when you leave it and playing it when you return,” said Addy Osmani, a Google Chrome engineer. “We estimate this change could improve performance up to 19% of all navigations for mobile Chrome.”
There is no exact timeline of when bfcache will land in the main Chrome version. Work on the feature started last month, according to a design document Google also published.
Similarly, Firefox, too, dipped into Chrome’s feature-set for its upcoming upgrade –set to land with Firefox 67, scheduled for release in May.
Firefox’s new feature will automatically unload old and unused tabs from Firefox’s memory, saving RAM. The feature is already live in Firefox Nightly versions where it is enabled by default.
According to an entry on Mozilla’s bug tracker, Firefox will first unload regular tabs, then pinned ones, regular tabs playing audio content, and, lastly, pinned tabs playing audio.
Firefox’s implementation is inspired by a Chrome feature known as Automatic Tab Discarding that Google shipped with its browser four years ago, in 2015.
In Chrome, the feature is also enabled by default, and users can turn it off by accessing chrome://flags/#automatic-tab-discarding. To turn off the feature in Firefox, when it ships, users can visit the about:page and toggle the browser.tabs.unloadOnLowMemory setting.
More browser coverage:
- Google backtracks on Chrome modifications that would have crippled ad blockers
- A third of all Chrome extensions request access to user data on any site
- Microsoft Edge lets Facebook run Flash code behind users’ backs
- Surveillance firm asks Mozilla to be included in Firefox’s certificate whitelist
- New browser attack lets hackers run bad code even after users leave a web page
- Google Chrome bug used in the wild to collect user data via PDF files
- What enterprises need to know about the new Chromium-based Edge TechRepublic
- Ad-blocking Brave gets memory advantage over Chrome on news websites CNET
Source Article from https://www.zdnet.com/article/chrome-and-firefox-are-borrowing-from-each-others-performance-features/#ftag=RSSbaffb68
Chrome and Firefox are borrowing from each other’s performance features
Latest blogs for ZDNet
Latest blogs for ZDNet