Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Friendly Iframes - Terra
Search
Jaydson Gomes
January 20, 2012
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Friendly Iframes - Terra
Apresentação feita no Terra sobre a solução nova adotada para o carregamento de publicidades.
Jaydson Gomes
January 20, 2012
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
470
Como ser um bom dev FrontEnd em 2017
jaydson
1
730
As 12 regras do cérebro aplicadas ao desenvolvimento de software
jaydson
6
940
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
700
BrazilJS Conf 2015 - Abertura
jaydson
0
220
Say my name!
jaydson
4
700
Template Engines
jaydson
1
170
ES6Rocks! JSConf Argentina 2014
jaydson
5
780
Other Decks in Programming
See All in Programming
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
260
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
150
XHTMLが残したもの
yosuke_furukawa
PRO
2
640
スマート反転とウェブアクセシビリティ
camiha
0
180
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
500
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
140
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
130
AIの中の人になってみる
htkym
0
170
Press start. Python's next generation.
willingc
PRO
3
330
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
190
自分的「カンファレンスの楽しみ方」
syumai
0
200
What We Talk About When We Talk About XP
m_seki
2
450
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Mind Mapping
helmedeiros
1
350
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
520
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Everyday Curiosity
cassininazir
0
310
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
680
Crafting Experiences
bethany
1
310
The World Runs on Bad Software
bkeepers
PRO
72
12k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
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]