Joined: 03 Dec 2003
Posts: 94
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
Manga about novelist, niece also has live-action film opening on June 7― Pony Canyon announced on Friday that Tomoko Yamashita's Ikoku Nikki (Diary of a Strange Land) manga is inspiring a television anime adaptation. The company also revealed a teaser promotional video, a teaser visual, and the show's main staff. Miyuki Oshiro (episode director for Durarara!!×2 Ketsu, Natsume Yūjin-Chō Go, To Your E...
Kaijin Fugeki manga launches on May 29― Manga creator Oh! great announced on Tuesday that he will launch a new manga titled Kaijin Fugeki in Kodansha's Weekly Shonen Magazine on May 29. A Twitter account for the manga also debuted on the same day. Oh! great launched a manga adaptation of NisiOisin's Bakemonogatari novels (pictured at right) in Weekly Shonen Magazine in March 2018, and ended it in Ma...
This week, it's hot monster mommies and less hot AI-generated light novels.― I Support Falin's Crimes We've long joked on the podcast about the quality of light novel writing, but the news is out that the developers of the RyokoAI project have scraped Shosetsuka ni Narou...are fully machine-generated LNs in our future? Plus: Things get gorier in Kaiju No. 8, the world of yatagarasu politics unfolds...
Each story is like a dark portal into a realm of human sexuality that society usually sweeps under the rug, but I can't look away.― Nude Model delivers on the promise of its lurid title. This manga, consisting of three equally intense short stories, is charged with eroticism and danger, with epiphanies lurking around every corner. Created by Tsubasa Yamaguchi, Nude Model is nothing like her most wel...
Find out about the young star who set the internet aflame and walked away with two medals. Plus: Thousand-Year Door updates, a new HunterxHunter game, and Miku!― Welcome back, folks! As is my wont, I'd like to plug my El Shaddai: Ascension of the Metatron HD Remaster that went up earlier this week... but I've also got the disappointing news that Megaton Musashi W: Wired finally released in the US la...
Daisuke 'Dice' Tsutsumi shares what it was like to leave Pixar and how his studio will never shy away from honesty in their work, even when honesty isn't pretty.― Director Daisuke "Dice" Tsutsumi contributed to films like Toy Story 3 and Monsters University while simultaneously crafting what became his Academy Award-nominated animated short film, The Dam Keeper. His latest short film, Bottle George,...
Chris and Nick put on their headphones and dust off their vinyl records for a look at this season's guitar-strumming, mic-swinging girl groups.― Chris and Nick put on their headphones and dust off their vinyl records for a look at this season's guitar-strumming, mic-swinging girl groups. Disclaimer: The views and opinions expressed by the participants in this chatlog are not the views of Anime News...
I cannot imagine how Square Enix could top themselves after this.― Final Fantasy VII Rebirth initially launched on the last day of February, and if you look at the date of this review's publication, you will immediately be able to discern one thing about this second entry of the FF7 Remake series: It is gargantuan. The first game got plenty of praise (and plenty of flak) for taking the relatively sh...