How Much Are Ad Servers Slowing the Web? 363
vipermac writes "Most of the times I have a problem with a Web page loading slow or freezing temporarily, I look down at the status bar and see that it's waiting on an ad server, Google Analytics, or the like. It seems to me that on popular Web sites the bottleneck is overwhelmingly on the ad servers now and not on the servers of the site itself. In my opinion we need a better model for serving ads — or else these services need to add more servers/bandwidth. Are there any studies on the delay that 3rd-party ad servers are introducing, or any new models that are being introduced to serve ads?"
Browser's fault? (Score:5, Interesting)
I realize this means performing some speculative page layout that may need to be re-done when the dimensions of the ads are served. But it sure would beat waiting tens of seconds to see the page's real content.
no slowdown at all... (Score:3, Interesting)
Agreed (Score:4, Interesting)
Then I realized that it would completely fail because the ad is geo-IP. So the cache will always display the location of my server, and not the user.
The obvious solution is for ad companies to offer scripts to their affiliates that could be run on the servers hosting the sites. Of course that opens up new problems, like security issues. But if the code were open we could spot such issues.
In fact, that seems to me like such a simple and obvious solution. The only reason that ad companies don't do that (that I can think of) is that they want to appeal to people running on free hosts where they can't run server-side scripts. But there's no reason not to offer both IMO. I also thought that they wanted to keep things as absolutely simple as possible, and there's nothing simpler than saying "just copy/paste this into your html document". But any web master who rents hosting (shared or dedicated) knows how to upload a php script.
Abusers aren't satisfied with one kind of abuse. (Score:5, Interesting)
So now I don't see the ads at all, thanks to Firefox's AdBlock Plus [mozilla.org] and NoScript [mozilla.org] add-ons. (I recommend NoScript only for people who don't mind fiddling with permissions for each new web site.)
I guess abusers aren't satisfied with only one kind of abuse. I can dimly remember some of the Slashdot ads. When they weren't misleading, they were generally stupidly written. People with no technical knowledge shouldn't work for technical companies.
Re:Browser's fault? (Score:5, Interesting)
Ads? or Webmasters? (Score:3, Interesting)
Google isn't always up. Plenty of times, I see issues because my comcast connection can't see the google servers even though everyone else can get to them just fine.
It's entirely feasible to write your page in such a way that it can display data before any other files are loaded. Serve up ads in an iframe, include tracking images in an iframe or as the last element of a page, etc.
But ads aren't the only thing causing page load problems. Third party widgets, crazy fat CSS and JS files, and pages with way too many images are still a problem.
Re:Progressive loading (Score:2, Interesting)
Re:Browser's fault? (Score:5, Interesting)
Most ad systems seem to work by placing a <script> tag where you want the ad to appear which loads a script from the ad server that does a document.write() to insert the actual code. This is very bad practice (and explicitly disallowed for XHTML) but even Google do it (which sucks since I have to jump through all sorts of hoops to get AdSense to work on my XHTML site).
document.write() works by actually writing out HTML and feeding it into the parser and thus parsing the page must be suspended at that point until it's finished executing, so you can't render the page until the advert has loaded.
The _correct_ way to do this is for the ad-serving Javascript to actually modify the DOM tree. But that requires the ad server developers to not be lazy and have clue, which seems to be asking too much. (or alternatively, don't use Javascript at all).
Re:Browser's fault? (Score:4, Interesting)
Don't see THAT many ad driven web site made in MS Word these days...
Re:High-CPU Flash Ads (Score:3, Interesting)
http://flashblock.mozdev.org/ [mozdev.org]
This extension replaces flash movies/objects with a button you can click to view them. You can also whitelist certain websites (e.g. YouTube) to always show the flash movie directly.
I do have to note though that when trying to whitelist a website I am viewing at that very moment, the extension does crash my browser every now and then. It might be something on my machine though! Anyway, with FireFox being able to restore sessions now, I find it a 'must have' extension to block out those CPU-consuming flash movies. I truly hate them
Re:use firefox and adblocker! (mod up parent) (Score:1, Interesting)
Perhaps that's the beauty of the metamoderation system?
Re:0 slowdown for me (Score:2, Interesting)
The biggest (solvable) problem with porn (and other) sites is link/statusbar hijacking where you click one link and are redirected to another site not related.
The solution involves preventing access to the statusbar and unfolding the links (with a greasemonkey script).
I will not click anything which I cannot see the resultant page.
Re:what ads? (Score:3, Interesting)
Privoxy, Adblocker & NoScript (Score:2, Interesting)
Re:use firefox and adblocker! (Score:4, Interesting)
Advertisements are an opportunity to make an impression on a customer. While there will always be technologies that make it difficult to ignore the ad, in most cases you are not obligated to be impressioned. Just because the advertisers get upset that you are stealing the cheese from their trap, it's your prerogative.
I'm a little surprised that we don't see more "banner" ads on TV. Imagine all these people with the widescreen sets that are viewing content with black sides because it's 4x3 formatted instead of widescreen. Imagine banners on both of those dead zones on the sides, that change every 20-30 seconds and adjust their product to something related to the main feature. Y know I think I would prefer that to the "four miniutes of commercials every 10 minutes" we get now. Also, even though a lot of shows are timed for like 49 minutes for the hour to accomodate commercials, a lot of stations trim out scenes or cut them short to insert more ads, so we would be getting more content. I wouldn't mind them doing this so long as they were not animated. Sort of like how I can't stand the animated shockwave banners here and at other sites. I don't understand why no one is doing this already. Though I have seen a few isolated examples of banner ads being shot across the bottom of the screen briefly during some shows - those are overlays though and degrade the content so maybe that's why those have been unsuccessful.