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.

Editors' Recommendations

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 enable picture-in-picture for YouTube on your Mac
Macbook Air

If you want to have a bit of music playing in the background or want to have your favorite YouTube video running in the corner of your screen, then the picture-in-picture YouTube feature needs to be on your radar. This allows you to turn your YouTube videos into a tiny pop-up window that can be moved and repositioned around your screen.

Mac users have several ways to activate the feature, including support on both Safari and Google Chrome. There's also a nifty Chrome extension that simplifies the task to a single button press. Here's a look at how to enable picture-in-picture for YouTube on your Mac.

Read more
How to change your Gmail password
pilot testing drivers licenses internet rolls two us states password

Changing your Gmail password is incredibly important for your online security. If you're anything like the average user, your Gmail account is linked to dozens of other organizations and programs – and if your account gets hacked, there's no telling what sort of damage can be done.

Because of this, it's crucial to change your Gmail password at regular intervals. Google makes this a rather painless process, and it should take no more than a few seconds from start to finish.

Read more
Best Buy deals: Save on laptops, TVs, appliances, and more
best buy shuts down insignia line smart home products store 2 768x768

Best Buy is always a great retailer to turn to if you’re looking for some savings. There are almost always Best Buy deals taking place on TVs, appliances, and devices we use to navigate the digital world. In fact, right now at Best Buy you can find some of the best TV deals, best laptop deals, and best phone deals that can be shopped, and we haven’t even mentioned the deals on tablets and home audio equipment currently taking place at Best Buy. We’ve rounded up all of the best Best Buy deals you can shop right now and categorized them for your convenience below, so read onward for some great opportunities to save.
Best Buy TV deals

There may be no better place to purchase one of the best TVs than Best Buy. There is almost always some huge savings to find on TVs at Best Buy, and that’s certainly the case right now. You’ll find deals top TV brands like Sony, Samsung, and LG, and more budget-friendly brands like TCL and Hisense are in play, too.

Read more