$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Friendly Iframes - Terra
Search
Jaydson Gomes
January 20, 2012
Programming
0
94
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
190
Say my name!
jaydson
4
640
Template Engines
jaydson
1
150
ES6Rocks! JSConf Argentina 2014
jaydson
5
750
Other Decks in Programming
See All in Programming
関数実行の裏側では何が起きているのか?
minop1205
1
570
ローターアクトEクラブ アメリカンナイト:川端 柚菜 氏(Japan O.K. ローターアクトEクラブ 会長):2720 Japan O.K. ロータリーEクラブ2025年12月1日卓話
2720japanoke
0
450
AIコーディングエージェント(Gemini)
kondai24
0
150
モダンJSフレームワークのビルドプロセス 〜なぜReactは503行、Svelteは12行なのか〜
fuuki12
0
190
dnx で実行できるコマンド、作ってみました
tomohisa
0
130
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
5
270
C-Shared Buildで突破するAI Agent バックテストの壁
po3rin
0
200
sbt 2
xuwei_k
0
190
Integrating WordPress and Symfony
alexandresalome
0
120
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
2.9k
手が足りない!兼業データエンジニアに必要だったアーキテクチャと立ち回り
zinkosuke
0
380
「コードは上から下へ読むのが一番」と思った時に、思い出してほしい話
panda728
PRO
10
5.3k
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
A better future with KSS
kneath
240
18k
A designer walks into a library…
pauljervisheath
210
24k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Speed Design
sergeychernyshev
33
1.4k
Context Engineering - Making Every Token Count
addyosmani
9
460
Designing Experiences People Love
moore
142
24k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
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]