Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Friendly Iframes - Terra
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Jaydson Gomes
January 20, 2012
Programming
0
95
Friendly Iframes - Terra
Apresentação feita no Terra sobre a solução nova adotada para o carregamento de publicidades.
Jaydson Gomes
January 20, 2012
Tweet
Share
More Decks by Jaydson Gomes
See All by Jaydson Gomes
Como criar e manter um produto orgânico e genuíno de sucesso
jaydson
0
420
Como ser um bom dev FrontEnd em 2017
jaydson
1
710
As 12 regras do cérebro aplicadas ao desenvolvimento de software
jaydson
6
890
Os incríveis 8 passos para o sucesso na carreira de desenvolvedor de Software
jaydson
6
1.1k
Futuro do Subjuntivo - Quando vós programardes JavaScript
jaydson
0
640
BrazilJS Conf 2015 - Abertura
jaydson
0
200
Say my name!
jaydson
4
650
Template Engines
jaydson
1
160
ES6Rocks! JSConf Argentina 2014
jaydson
5
750
Other Decks in Programming
See All in Programming
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
CSC307 Lecture 08
javiergs
PRO
0
670
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
120
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
160
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
220
Basic Architectures
denyspoltorak
0
670
CSC307 Lecture 01
javiergs
PRO
0
690
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.5k
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.4k
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Embracing the Ebb and Flow
colly
88
5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
エンジニアに許された特別な時間の終わり
watany
106
230k
First, design no harm
axbom
PRO
2
1.1k
Rails Girls Zürich Keynote
gr2m
96
14k
Tell your own story through comics
letsgokoyo
1
810
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
64
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
Transcript
Nova solução para carregamento de publicidades no portal Friendly Iframes
Jaydson Gomes
document.write()
Problema: • Má prática • Síncrono/Bloqueante Funciona somente enquanto a
página está carregando • Após o carregamento da página, o documento é reescrito ...
:( :( :( :( :( :(
http://www.terra.com.br First View: 13.690s Repeat View: 10.274s
Teste HLG First View: 7.192s Repeat View: 2.771s
Como funciona? • Iframe dinâmico • Requisição ao Tagman via
script tag "<script src=>"
* Por default iframes não carregam em paralelo * Friendly
Iframe é a solução para este "problema" Como funciona?
Vantagens • Assíncrono • Isolamento de publicidades(Peças com erros não
afetam as outras) • Melhor controle sobre as peças(Recarregar, remover, criar após carregamento)
Desvantagens • Maior processamento do lado cliente
Produção? 10/01/2012 entrou em Vida&Estilo
Resultados Vida&Estilo Solução antiga First View: 13.994s Repeat View: 9.706s
Resultados Vida&Estilo Solução NOVA(FiF) First View: 8.033s Repeat View: 4.048s
Produção na capa? Save the date: 26/01/2012
Dúvidas?
[email protected]