Skip to main content

Opera’s speculative prerenderer

Opera Software integrated what it calls an address bar speculative prerenderer in Opera 43 to speed up the loading of resources from the address bar.

We talked about this back when the developer version of Opera hit version 43, but did not know much about the feature as Opera did not reveal an awful lot of information about it.

Back then, we knew that it used an algorithm to speed up the loading of addressed that get typed or suggested by starting the loading before you select the result.

This makes sense for some resources. If you type comtek4u.com in the browser all the time, and never something else that starts with the first two characters "gh", then it is almost certain that you want to type comtek4u.com the next time as well to load the site.

Address bar speculative prerenderer

Opera Software's Daniel Bratell revealed additional information about the new speculative prerendered feature in Opera 43 in a new blog post today.

First the good news: if the algorithm gets it right, page load time is reduced by about a second. Opera notes that the actual improvement depends largely on how predictable the user's actions are.

We expect this feature to results in an average of 1 second faster loads from the address bar. That means that instant page loads become much more common. Of course this depends a lot on how predictable the user is and how fast the user is. I expect you who read this to benefit less than the average user, but I might be wrong.

It is obviously easier to predict actions for users who visit a handful of sites regularly. If all you do is go to eBay, Amazon, a newspaper website, YouTube, and maybe Google, then it is easy enough to predict that you will go there the next time as well.

If you happen to visit dozens of new sites each day, then it is a lot harder to predict the next move.

Prerender Monitoring

opera predictors

Opera 43 ships with two monitoring options that provide you with access to prerendering data.

  1. opera://predictors/ -- This internal page lists provides you with information on action predictions. It displays resources, and whether the algorithm got the prediction right or wrong. You also find the confidence level listed there for each of the resources.
  2. opera://net-internals/#prerender -- The second internal page lists the prerender history. It highlights which resources got prerendered by the browser.

Prerender Preferences

opera prediction

There are good reasons for not wanting Opera to prerender anything. Any miss in regards to the page the user opens wastes bandwidth as a page gets loaded that the user won't access.

Another issue is that your IP address may end up in the log of sites that you may not want to be associated with. Additionally, if your country records connections of all citizens and thinks that is a good idea, that connection may end up in that database as well.

While you may gain improved loading times from the feature it if works more often than not, you may want to disable it nevertheless because of the negative implications.

  1. Load opera://settings/ in the browser.
  2. Switch to Privacy.
  3. Remove the checkmark from Use a prediction service to help complete searches and URLs typed in the address bar.
  4. Remove the checkmark from Predict network actions to improve page load performance.
  5. Load opera://flags/?search=render#prerender-search-results and set the feature to disabled.
  6. Load opera://flags/?search=render#prerender-url-input and set the feature to disabled.

You may also enable battery saving mode permanently to block the new prerender feature as Opera disables it if Battery Saver mode is enabled.

Some studies indicate about 80% of prerendered pages become used, which means that 20% of the prerender page loads are for nothing and has wasted electrons. Therefore we don’t do this in battery saving mode (could argue that we should still do it).

Now You: Preloading yay or nay, what is your opinion?

 

This article was first seen on ComTek's "TekBits" Technology News

HOME