Joined: 03 Dec 2003
Posts: 93
Location: California
Posted: Sat May 10, 2008 11:02 am
Let me preface this by saying that my "real job" is maintaining an ad server for one of the 100 most popular Internet web sites...
I noticed today that the ANN home page seemed to load rather slowly for me. It got as far as the top navigation when everything came to a halt. My browser's status bar indicated that it was trying to connect to servedby.advertising.com. Eventually it loaded, but the whole page was waiting on that one ad.
Going to the forums just now, I encountered the same wait for another ad.
Viewing the page source, I notice that ads are called in JavaScript. When we tried serving ads via JavaScript a few years back, it was a disaster and we rolled back that change within a day. All it takes is one slow third-party ad server and everything after that ad call will not load until after the ad loads.
The solution we've been using since that time is to call all our ads in an iframe. That way, the page will still display and content won't suffer if some third-party advertiser has a slow ad server. There are some limitations with using iframes (most notably, the fixed size), but we definitely have found it to be the solution that works for us.
Just thought I'd throw in my 2 cents in case you guys were annoyed by the slow-loading ads too.
Joined: 02 Jan 2002
Posts: 3782
Location: Montreal
Posted: Tue May 13, 2008 11:41 pm
You really got me thinking here.
I had already considered this technique before but it means an additional server hit for every ad. Assuming 2 ads per page, that's literally tripling the number of dynamic requests hitting the server.
Then I realized: it only needs to be for external ads.
Then I realized: it doesn't have to be dynamic; I could pre-generate a static file containing the code for the ad.
Then I realized: maybe I can "inline" the frame's content as base64. Testing:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Series launched in 2016― The official Twitter account for Micro Magazine's Comic Ride magazine announced on April 1 that Shō Okagiri's That Time I Got Reincarnated as a Slime: The Ways of Monster Nation spinoff manga of Fuse and Mitz Vah's That Time I Got Reincarnated as a Slime (Tensei Shitara Slime Datta Ken) light novel series will end prematurely due to Okagiri's health. The company stated ther...
SPY×FAMILY Code: White earns US$4,875,000 in 1st weekend― The Box Office Mojo reports that the Godzilla vs. Kong film sequel Godzilla x Kong: The New Empire dropped again from #2 to #3 in its fourth weekend, and the SPY×FAMILY Code: White anime film ranked at #5 in its opening weekend in the U.S. box office. Godzilla x Kong: The New Empire earned an estimated US$2,330,000 on Friday, an estimated US$...
Part District 9 meets O Maidens in Your Savage Season, part grimdark deconstruction of Doraemon.― Many anime films are adapted from manga and Dead Dead Demon's Dededede Destruction is no exception. Usually, a film will cover a single arc of the greater plot—giving the story on screen a solid beginning, middle, and end. However, this is not the case with the first Dead Dead Demon's Dededede Destructi...
People might think of this game as a celebration of the energy and experimentation of RPGs past, a tribute to a time when archetypes and genre conventions hadn't yet calcified and anything was fair game. And for once, they'd be right.― There's a point that Lady Perielle returns to often when people ask her why Nowa, a young warrior from a small village, is the leader of the resistance front against ...
Jacki, Lynzee, and James are clearing out their new anime backlog to determine the must-watch shows of the season!― What Anime Should You Watch Part 2 (Spring 2024) Jacki, Lynzee, and James are clearing out their new anime backlog to determine the must-watch shows of the season! The ANN After Show streams live on YouTube, Facebook, and Twitter Spaces on Tuesdays at 6pm PT/9pm ET. You can listen to ...
However, for all the good to be found in the season, there is a notable flaw: its pacing.― On most levels, Classroom of the Elite Season 3 falls into the category of being "more of the same." After all, the usual story pattern remains intact: Some new threat comes for Ayanakoji's class, and he pulls strings from behind the scenes, eventually coming out on top. That said, this season does its best to...