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
What are non-Japanese anime fans' top choices?― Fans have been debating the greatest anime songs as long as anime has been around. Japanese TV regularly raises the topic for domestic fans, but every so often, Japan also presents the international perspective. On April 21, TV Asahi hosted a nearly three-hour special ranking favorite anime songs by non-Japanese and non-domestic anime fans. In a March ...
The third season of Sound Euphonium reignites the fandom controversy over Reina and Kumiko's relationship. Chris and Steve delve into it and why 'queerbaiting' is such a loaded term.― The third season of Sound Euphonium reignites the fandom controversy over Reina and Kumiko's relationship. Chris and Steve delve into it and why 'queerbaiting' is such a loaded term. Disclaimer: The views and opinions...
You can't accuse the Pretty Cure franchise of resting on its laurels. Wonderful Precure! could move too slowly for some viewers. But these episodes are full of unmitigated joy.― You can't accuse the Pretty Cure franchise of resting on its laurels. While there are distinct similarities between all iterations of the long-running Magical Girl franchise, recent years have done their best to maintain the...
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...
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 ...