Skip to main content

Facebook is helping Chrome and Firefox to speed up the web

facebook lauches workplace app with screenshare photos header
armpannawat/123RF
Over the past two years, Facebook’s cooperation with browser vendors Google Chrome and Mozilla Firefox has dramatically improved web page reload speeds, according to the company.

Working closely with the browsers to squash bugs in the browser caching technique — temporary storage for files downloaded to your computer or mobile device, including html files, CSS style sheets, images, JavaScript scripts, and other media content — Facebook reduced its page reload times on Chrome by 28 percent.

As Google’s senior software engineer Takashi Toyoshima notes in his blog post, page validation requests between browsers and web servers can cause serious performance issues on mobile devices, such as battery drain.

At the onset of its research, Facebook found that Chrome was sending page validation requests at three times the rate of other browsers. Although this process didn’t result in any additional data being transferred to the user’s device, it was deemed a futile technique that was bogging down page refresh times. Once Chrome simplified its reload behavior to only validate the main resource on a page, it resulted in 60 percent less validation requests.

“Every time a user logged in to Facebook the [Chrome] browser ignored its cache and revalidated all the previously downloaded resources,” said Facebook Code team members Ben Maurer and Nate Schloss in a blog post.

Referring to the broader impact of the change on websites, Toyoshima said: “We hope this faster reload will come in handy whenever you want to get the latest content on your favorite website or quickly recover from a flaky connection in the subway.”

Testing out the change on mobile with a 3G connection, the Chrome team found that the reload rate was 1.6 seconds faster across all websites.

Similarly, Firefox implemented a cache-control feature on the most recent version of its browser on the back of a Facebook proposal. The change saw a reload generate just 25 network requests from a Facebook page, which can typically contain around 150 different resources. According to Patrick McManus, principal engineer at Mozilla Firefox, the change cut page reloading times in half.

McManus adds that other developers are adopting the feature, too, with the BBC revealing that page refresh times have improved by 50 percent. Facebook claims that the research conducted with Chrome and Firefox “highlights how web browsers can, and do, work with web developers to make the web better for everyone.”

Editors' Recommendations

Saqib Shah
Former Digital Trends Contributor
Saqib Shah is a Twitter addict and film fan with an obsessive interest in pop culture trends. In his spare time he can be…
Google may have just fixed Chrome’s most annoying problem
A Macbook with Google Chrome opened to a Gmail inbox.

While Google Chrome is one of the best web browsers, over the years it has gained a reputation for being something of a resource hog, gobbling up your PC’s memory like it’s going out of style. That can be a problem if you’re running other resource-heavy tasks and don’t want things to slow down. Now, Chrome has been updated with two new features that cut down on memory usage and extend your laptop’s battery life, according to Google. The changes are set to roll out today with the latest release of Chrome on desktop (version m108).The first new feature, dubbed Memory Saver, is designed to reduce the amount of memory Chrome’s tabs use. It does this by freeing up memory from inactive tabs, and putting them to sleep so they can’t monopolize your system’s resources. When you need to access the tabs again, they will be reloaded and become active. The goal of Energy Saver, meanwhile, is fairly self-explanatory -- helping your laptop battery last longer -- but it does so in a somewhat interesting way. When your battery drops to 20%, Chrome will try to prolong your battery life by “limiting background activity and visual effects for websites with animations and videos.”Presumably, this means Chrome will limit the kind of flashy effects that have made a comeback in web design in recent years. Google says that when these new features launch, users will still be able to customize them to their liking. You can disable either Memory Saver or Energy Saver (or both), and mark certain websites as exempt in Chrome’s settings. The changes could turn out to be important. While Chrome has managed to become the dominant Windows web browser and one of the best browsers for Mac, it has been plagued by poor memory management for years. If Memory Saver and Energy Saver are able to help ameliorate that -- and make your battery last longer too -- then Google might have gone some way to fixing Chrome’s biggest problem. Both Memory Saver and Energy Saver will be launched globally over the next few weeks. The features are coming to Chrome on Windows, macOS, and ChromeOS.

Read more
Half of Google Chrome extensions may be collecting your personal data
Google Chrome icon in mac dock.

Data risk management company Incogni has found that half of every installed Google Chrome extension has a high to very high risk of collecting personal data, showing a strong correlation to the number of permissions given.

After analyzing 1,237 Chrome extensions found in the Chrome Web Store, a study by Incogni has uncovered some troubling findings. Nearly half (48.7%) of the extensions were found to potentially expose users' personally identifiable information (PII), distribute malware and adware, and record passwords and financial information.

Read more
This Chrome extension lets hackers remotely seize your PC
A depiction of a hacker breaking into a system via the use of code.

Malicious extensions on Google Chrome are being used by hackers remotely in an effort to steal sensitive information.

As reported by Bleeping Computer, a new Chrome browser botnet titled 'Cloud9' is also capable of logging keystrokes, as well as distributing ads and malicious code.

Read more