Feeds

Google (finally) releases antidote to Google ad webpage drag

Relief from browser hang

  • alert
  • submit to reddit

The Essential Guide to IT Transformation

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." ®

Build a business case: developing custom apps

More from The Register

next story
iPad? More like iFAD: We reveal why Apple fell into IBM's arms
But never fear fanbois, you're still lapping up iPhones, Macs
Amazon says Hachette should lower ebook prices, pay authors more
Oh yeah ... and a 30% cut for Amazon to seal the deal
Philip K Dick 'Nazi alternate reality' story to be made into TV series
Amazon Studios, Ridley Scott firm to produce The Man in the High Castle
Nintend-OH NO! Sorry, Mario – your profits are in another castle
Red-hatted mascot, red-colored logo, red-stained finance books
Sonos AXES support for Apple's iOS4 and 5
Want to use your iThing? You can't - it's too old
Joe Average isn't worth $10 a year to Mark Zuckerberg
The Social Network deflates the PC resurgence with mobile-only usage prediction
Chips are down at Broadcom: Thousands of workers laid off
Cellphone baseband device biz shuttered
Feel free to BONK on the TUBE, says Transport for London
Plus: Almost NOBODY uses pay-by-bonk on buses - Visa
Twitch rich as Google flicks $1bn hitch switch, claims snitch
Gameplay streaming biz and search king refuse to deny fresh gobble rumors
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Maximize storage efficiency across the enterprise
The HP StoreOnce backup solution offers highly flexible, centrally managed, and highly efficient data protection for any enterprise.