Friendly iframes

4,276
-1

Published on

Published in: Technology, News & Politics
1 Comment
1 Like
Statistics
Notes
  • Please contact me about your iframe network. I would like to buy ads.
    Ryan@Hartventures.net 253-224-7624
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
4,276
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Friendly iframes

  1. 1. Example of implementation with Google ads
  2. 2. • Pages are complex: lots of resources from various domains• A lot of whats loaded is third party content We need unobstrusive loading techniques to get better perfs.
  3. 3.  On TGU FR Homepage, we have 3 DFP (Doubleclick for Publishers) adsImpact: 15 HTTP requests, 78KB total Scripts block the page’s content from downloading
  4. 4. Concept iframe on the same origin that serves remote contentHow is it possible? The previous heavy script is replaced with a very small script that only creates the iframe Inside this iframe, it executes the heavy time- consuming script that will get the ads It creates another friendly iframe that contains the ad
  5. 5. Why is a friendly iframe that awesome? Ads can be loaded in parallel with the rest of the page Start of loading ads can be delayed, regardless of tag placement (not possible with either standard method) Ads may be loaded using AJAX or other dynamic coding frameworks, without introducing compatibility issues due to ads using document.write() etc. Gives the ad access to the DOM of the page, allowing interstitials, expanding ads, resizing the iframe…
  6. 6. With his new DFP ads, Google offers the best current solution The script that creates the iframe is asynchronous The single request mode : 1 HTTP request for all ads slots Asynchronously refreshing ad slots Support for expanding ads

×