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.

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.

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…
How to block a website

Whether you're looking to protect your kids from sketchy websites or protect yourself from distracting sites while working, sometimes we all need to block a website for our best interests. Balancing privacy, freedom, and controls can be tricky to navigate.

While many laptops come with some parental controls already installed, some are more user-friendly than others. We’ll walk you through exactly how to use the settings and how to use host files and routers to do this.

Read more
How to deactivate your Instagram account (or delete it)
A person holding a phone with the Instagram app open on it.

Oh, social media. Sometimes it’s just too much, folks. If you’re finding yourself in a position where shutting down your Instagram account for a period of time sounds good, Meta’s powers that be have made it pretty simple to deactivate your Instagram account. It’s also quite easy to completely delete your Instagram, although we wouldn’t recommend this latter option if you plan on returning to the platform at a later date.

Read more
How to clear cookies
A person uses a tablet with an HP laser printer in an office.

Cookies are a convenient way to experience the parts of the internet you frequently visit. One can think of these non-edible artifacts as digital breadcrumbs for info you may not want to remember every time. But when your computer is tasked with remembering too many of these trail-markers, it can really slow down your machine. Regardless of the browser you’re using, it’s a good idea to clear your cookies every once in a while.

Read more