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…
These 2 new Edge features are making Chrome look outdated
Copilot in Windows being used in the side panel.

Microsoft has announced a host of updates that will soon be available for its Edge browser, including the Microsoft 365 Copilot feature and Sidebar app support for developers.

The company is showcasing the new features during its annual Build developer conference, which is currently taking place from May 23 through May 25.

Read more
Firefox just got a great new way to protect your privacy
Canva in Firefox on a MacBook.

If you’re fed up with signing up for new accounts online and then being perpetually spammed in the days and weeks after, Mozilla has an idea that could help. The company has just announced its Firefox Relay feature is being directly integrated into its Firefox web browser, and it could help guarantee your privacy without any extra hassle.

Firefox Relay works by letting you create email “masks” when you sign up for new accounts. Instead of entering your real credentials into the sign-up field, Firefox Relay provides you with a throwaway address and phone number to use. Any messages from the website -- such as purchase receipts -- are then forwarded to your real email address, with all the sender’s tracking information stripped out to protect your privacy.

Read more
Google Chrome’s latest update solves the browser’s biggest problem
Google Chrome icon in mac dock.

Google Chrome is one of the best browsers around, but it's always had a big problem with memory usage. It's finally addressing the issue in a new Chrome 110 update that promises to reduce RAM usage by up to 30% and make the browser for efficient.

Chrome has a reputation for its speed, security, and feature drops, as well as a penchant for hanging on to your precious RAM like an episode of Hoarders. Granted, Google has made strides in improving Chrome's memory efficiency by hibernating tabs in the background, but it still struggles with it compared to Microsoft Edge or Mozilla Firefox.

Read more