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
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
450
Como ser um bom dev FrontEnd em 2017
jaydson
1
720
As 12 regras do cérebro aplicadas ao desenvolvimento de software
jaydson
6
930
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
690
BrazilJS Conf 2015 - Abertura
jaydson
0
220
Say my name!
jaydson
4
680
Template Engines
jaydson
1
170
ES6Rocks! JSConf Argentina 2014
jaydson
5
780
Other Decks in Programming
See All in Programming
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
15
3.2k
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
260
【やさしく解説 設計編 #0】DDDのコード、読めるのに分からない人へ
panda728
PRO
2
240
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
130
ローカルLLMでどこまでコードが書けるか -縮小版 / How much code can be written on a local LLM Shortened
kishida
2
180
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.7k
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
840
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
580
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
470
Creating Composable Callables in Contemporary C++
rollbear
0
200
継続モナドとリアクティブプログラミング
yukikurage
3
470
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
140
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
630
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
We Have a Design System, Now What?
morganepeng
55
8.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
270
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
390
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
460
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
320
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Done Done
chrislema
186
16k
A Modern Web Designer's Workflow
chriscoyier
698
190k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
790
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]