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
Jaydson Gomes
January 20, 2012
Programming
0
86
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
400
Como ser um bom dev FrontEnd em 2017
jaydson
1
690
As 12 regras do cérebro aplicadas ao desenvolvimento de software
jaydson
6
860
Os incríveis 8 passos para o sucesso na carreira de desenvolvedor de Software
jaydson
6
1k
Futuro do Subjuntivo - Quando vós programardes JavaScript
jaydson
0
610
BrazilJS Conf 2015 - Abertura
jaydson
0
160
Say my name!
jaydson
4
620
Template Engines
jaydson
1
130
ES6Rocks! JSConf Argentina 2014
jaydson
5
730
Other Decks in Programming
See All in Programming
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
9
2.5k
Amazon Bedrockマルチエージェントコラボレーションを諦めてLangGraphに入門してみた
akihisaikeda
1
150
Boos Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
560
生成AIで加速するテスト実装 - ロリポップ for Gamersの事例と 生成AIエディタの活用
kinosuke01
0
140
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1k
良いコードレビューとは
danimal141
9
5.5k
PEPCは何を変えようとしていたのか
ken7253
3
300
もう僕は OpenAPI を書きたくない
sgash708
6
1.9k
iOSでQRコード生成奮闘記
ktcryomm
2
120
Swift Testingのモチベを上げたい
stoticdev
2
190
color-scheme: light dark; を完全に理解する
uhyo
7
500
ソフトウェアエンジニアの成長
masuda220
PRO
12
2.2k
Featured
See All Featured
Making Projects Easy
brettharned
116
6k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
BBQ
matthewcrist
87
9.5k
Writing Fast Ruby
sferik
628
61k
GraphQLとの向き合い方2022年版
quramy
44
14k
The Cult of Friendly URLs
andyhume
78
6.2k
Typedesign – Prime Four
hannesfritz
41
2.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Mobile First: as difficult as doing things right
swwweet
223
9.5k
Facilitating Awesome Meetings
lara
53
6.3k
Faster Mobile Websites
deanohume
306
31k
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? jaydson.gomes@corp.terra.com.br