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
92
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
410
Como ser um bom dev FrontEnd em 2017
jaydson
1
700
As 12 regras do cérebro aplicadas ao desenvolvimento de software
jaydson
6
880
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
620
BrazilJS Conf 2015 - Abertura
jaydson
0
170
Say my name!
jaydson
4
630
Template Engines
jaydson
1
140
ES6Rocks! JSConf Argentina 2014
jaydson
5
750
Other Decks in Programming
See All in Programming
React は次の10年を生き残れるか:3つのトレンドから考える
oukayuka
21
6.7k
ソフトウェア設計とAI技術の活用
masuda220
PRO
18
4.2k
“いい感じ“な定量評価を求めて - Four Keysとアウトカムの間の探求 -
nealle
2
12k
PicoRuby on Rails
makicamel
3
140
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
300
商品比較サービス「マイベスト」における パーソナライズレコメンドの第一歩
ucchiii43
0
180
Claude Code派?Gemini CLI派? みんなで比較LT会!_20250716
junholee
1
540
脱Riverpod?fqueryで考える、TanStack Queryライクなアーキテクチャの可能性
ostk0069
0
500
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
1.1k
Git Sync を超える!OSS で実現する CDK Pull 型デプロイ / Deploying CDK with PipeCD in Pull-style
tkikuc
4
350
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
870
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
130
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
695
190k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
How to Ace a Technical Interview
jacobian
278
23k
The Invisible Side of Design
smashingmag
301
51k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Embracing the Ebb and Flow
colly
86
4.8k
Site-Speed That Sticks
csswizardry
10
700
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]