Feeds

Google (finally) releases antidote to Google ad webpage drag

Relief from browser hang

  • alert
  • submit to reddit

Beginner's guide to SSL certificates

Google has rolled out a new AdSense script that will load the company's ubiquitous contextual ads significantly faster than in the past.

Last year, at a conference in Silicon Valley, the company acknowledged that AdSense text ads can account for as much as 12 per cent of a webpage's load time. And we thought to ourselves: "That's all?"

But Google was already testing a new iframe script designed to reduce load times without requiring sites to change any of their AdSense code. "We want to minimize the amount of time we spend blocking the publisher page," Google mathematician Michael Kleber said at the time. "We want a webpage to be as fast with ads in it as without. But we want to do it without having publishers recast. We want to do it without them changing anything on their page, because, you know, AdSense is on millions of websites, and there's no way we're going to get millions to change their pages.

"We want to have this work by default and not just for elite webmasters that keep up with best practices."

Nine months later, Google has rolled out the new script across the globe for users of Google Chrome, Mozilla Firefox, and Microsoft Internet Explorer 8. Support for other browsers will follow.

In essence, Google is replacing the existing 40K AdSense JavaScript (aka show_ads.js) with a much smaller load script that creates an inline frame on the webpage. The remainder of the script executes with the iframe, separately from the rest of the page. The old "show ads" script would halt all sorts of other tasks when it was downloaded by the browser. The new iframe setup will not. Google is able to access the same code path without interfering with other downloads.

"The remarkable thing is that it works and it's very fast," Kleber said. "Even though the script running inside the publisher page doesn't lock the publisher page from doing all the other things it wants to do, we still execute as quickly as possible, right on top of the stack." ®

Security for virtualized datacentres

More from The Register

next story
Hey, Scots. Microsoft's Bing thinks you'll vote NO to independence
World's top Google-finding website calls it for the UK
Phones 4u slips into administration after EE cuts ties with Brit mobe retailer
More than 5,500 jobs could be axed if rescue mission fails
Apple CEO Tim Cook: TV is TERRIBLE and stuck in the 1970s
The iKing thinks telly is far too fiddly and ugly – basically, iTunes
Israeli spies rebel over mass-snooping on innocent Palestinians
'Disciplinary treatment will be sharp and clear' vow spy-chiefs
Huawei ditches new Windows Phone mobe plans, blames poor sales
Giganto mobe firm slams door shut on Microsoft. OH DEAR
Phones 4u website DIES as wounded mobe retailer struggles to stay above water
Founder blames 'ruthless network partners' for implosion
Found inside ISIS terror chap's laptop: CELINE DION tunes
REPORT: Stash of terrorist material found in Syria Dell box
OECD lashes out at tax avoiding globocorps' location-flipping antics
You hear that, Amazon, Google, Microsoft et al?
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Security and trust: The backbone of doing business over the internet
Explores the current state of website security and the contributions Symantec is making to help organizations protect critical data and build trust with customers.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.