Feeds

Google (finally) releases antidote to Google ad webpage drag

Relief from browser hang

  • alert
  • submit to reddit

Top three mobile application threats

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

Top three mobile application threats

More from The Register

next story
Dropbox defends fantastically badly timed Condoleezza Rice appointment
'Nothing is going to change with Dr. Rice's appointment,' file sharer promises
Audio fans, prepare yourself for the Second Coming ... of Blu-ray
High Fidelity Pure Audio – is this what your ears have been waiting for?
MtGox chief Karpelès refuses to come to US for g-men's grilling
Bitcoin baron says he needs another lawyer for FinCEN chat
Did a date calculation bug just cost hard-up Co-op Bank £110m?
And just when Brit banking org needs £400m to stay afloat
Sorry London, Europe's top tech city is Munich
New 'Atlas of ICT Activity' finds innovation isn't happening at Silicon Roundabout
Zucker punched: Google gobbles Facebook-wooed Titan Aerospace
Up, up and away in my beautiful balloon flying broadband-bot
Apple DOMINATES the Valley, rakes in more profit than Google, HP, Intel, Cisco COMBINED
Cook & Co. also pay more taxes than those four worthies PLUS eBay and Oracle
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.