Skip to main content

Researchers at MIT and Harvard have found a way to drastically speed up Web browsing

A person using a laptop at a desk.
Image used with permission by copyright holder
Speeding up the rate at which websites load usually involves switching to a different browser, but the clever folks at Massachusetts Institute of Technology’s Science and Artificial Intelligence Laboratory and Harvard University have discovered a way to speed up Web browsing regardless of platform. The result of a collaborative study between the two institutions, Polaris, was detailed in a paper published Wednesday. The improvements are dramatic: in tests by researchers involving “a range” of network conditions on more than 200 websites including ESPN.com, NYTimes.com, and Weather.com, Polaris was observed to reduce website page-load times by up to 34 percent.

The system achieves that browsing boost by reducing the number of objects that devices download when they visit a webpage. Normally, navigating to a site like Google.com involves a series of exchanges between a device and the page’s servers. “Objects” such as HTML files, images, JavaScript code, videos, and more are downloaded individually, interpreted by the browser, and then arranged into a human-readable webpage. But complicating matters, each file could potentially require additional files, called dependencies, in order to render properly; a JavaScript code could point to another JavaScript code on a third-party server, for example.

Recommended Videos

Modern browsers try to mitigate the page-loading impact of dependencies by making “conservative assumptions” about which content to process next using HyperText Markup Language (HTML), the structural code framework that underlies most webpages. But HTML doesn’t always give a good indication of a dependency’s potential impact, leading to increased load times as additional objects download.

Please enable Javascript to view this content

Polaris attempts to solve the problem of dependencies by creating a graph of the “interactions between objects” on a webpage. Every reference a script makes to another script, every page variable that’s updated by a third-party routine, and even every nibble of data read by another object is meticulously recorded in a master log that Polaris maintains. The resulting “map” can then be used by browsers to load webpage content more efficiently. Harvard Professor James Mickens, a co-author of the study, likens it to a traveling businessperson. “For a Web browser, loading all of a page’s objects is like visiting all of the cities,” he told MIT News. “Polaris effectively gives you a list of all the cities before your trip actually begins.”

The approach isn’t exactly new — indeed, the authors acknowledge that so-called dependency-trackers have existed before — but Polaris derives much of its efficiency by avoiding the use of HTML in identifying object relationships. And in contrast to the data compression services offered by Google and Opera, the reductions in page load-times enabled by Polaris are more “substantive” and perceptible. “Recent work has shown that slow load-times are more strongly related to network delays than available bandwidth,” MIT professor and paper co-author Hari Balakrishnan told MIT News. “Rather than decreasing the number of transferred bytes, we think that reducing the effect of network delays will lead to the most significant speedups.”

Polaris isn’t a fix-all for slow browsing, but complex sites with a vast number of dependencies stand to particularly benefit. Mobile networks, too, could see improvements: according to an Amazon study, it can take up to 100 milliseconds each time a browser has to download data via a mobile network.

Kyle Wiggers
Former Digital Trends Contributor
Kyle Wiggers is a writer, Web designer, and podcaster with an acute interest in all things tech. When not reviewing gadgets…
PayPal vs. Venmo vs. Cash App vs. Apple Cash: which app should you use?
PayPal, Venmo, Cash App, and Apple Wallet apps on an iPhone.

We’re getting closer every day to an entirely cashless society. While some folks may still carry around a few bucks for emergencies, electronic payments are accepted nearly everywhere, and as mobile wallets expand, even traditional credit and debit cards are starting to fall by the wayside.

That means many of us are past the days of tossing a few bills onto the table to pay our share of a restaurant tab or slipping our pal a couple of bucks to help them out. Now, even those things are more easily doable from our smartphones than our physical wallets.

Read more
How to change margins in Google Docs
Laptop Working from Home

When you create a document in Google Docs, you may need to adjust the space between the edge of the page and the content --- the margins. For instance, many professors have requirements for the margin sizes you must use for college papers.

You can easily change the left, right, top, and bottom margins in Google Docs and have a few different ways to do it.

Read more
What is Microsoft Teams? How to use the collaboration app
A close-up of someone using Microsoft Teams on a laptop for a videoconference.

Online team collaboration is the new norm as companies spread their workforce across the globe. Gone are the days of primarily relying on group emails, as teams can now work together in real time using an instant chat-style interface, no matter where they are.

Using Microsoft Teams affords video conferencing, real-time discussions, document sharing and editing, and more for companies and corporations. It's one of many collaboration tools designed to bring company workers together in an online space. It’s not designed for communicating with family and friends, but for colleagues and clients.

Read more