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
680
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
Contextとはなにか
chiroruxx
1
390
SLOをサービス品質の共通言語にするために 取り組んできたこと
wakana0222
0
330
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
210
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
200
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.2k
act1-costs.pdf
sumedhbala
0
170
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
7.2k
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
360k
関数型プログラミングのメリットって何だろう?
wanko_it
0
140
エージェンティックRAGにAWSで入門しよう!
har1101
9
1.9k
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
4
1.6k
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
260
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
640
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
180
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Unsuck your backbone
ammeep
672
58k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Abbi's Birthday
coloredviolet
3
8.5k
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]