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
De 45 a 85
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Eva Ferreira
July 29, 2020
Programming
120
0
Share
De 45 a 85
Charla de web performance para Women Who Code - Buenos Aires
Eva Ferreira
July 29, 2020
More Decks by Eva Ferreira
See All by Eva Ferreira
Criptografía para enamorados 💖
evaferreira
0
14
Cryptography for lovers 💖
evaferreira
0
44
Bulletproof your Design system
evaferreira
0
74
Good intentions gone bad
evaferreira
0
290
Bulletproof your Design System
evaferreira
0
170
Tales of Accessibility Failures
evaferreira
0
83
Tales of Accessibility Failures
evaferreira
0
240
La accesibilidad de todos los días - HackAcademy
evaferreira
0
160
Rescue the Dead Horse
evaferreira
0
160
Other Decks in Programming
See All in Programming
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
1
330
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
0
240
AIを導入する前にやるべきこと
negima
2
370
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.3k
GitHubCopilotCLIをはじめよう.pdf
htkym
0
340
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
370
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.7k
AI Agent と正しく分析するための環境作り
yoshyum
2
540
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
3.2k
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
1
150
[BalkanRuby 2026] Drop your app/services!
palkan
3
570
TSKaigi2026-静的解析への投資がAI時代のコード品質を支える ── カスタムESLintルールの設計と運用
hayatokudou
3
310
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
Crafting Experiences
bethany
1
150
From π to Pie charts
rasagy
0
180
Become a Pro
speakerdeck
PRO
31
5.9k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Facilitating Awesome Meetings
lara
57
6.9k
Fireside Chat
paigeccino
42
3.9k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
200
Tell your own story through comics
letsgokoyo
1
920
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Transcript
De 45 a 85 Performance en el Front-end
¡Hola! Soy Eva • Front-end developer • Aunque a veces
hago back-end • Organizadora CSSConf Argentina • Google Developer Expert • Mozilla Tech Speaker • Hice una capa de invisibilidad con JS • https://youtu.be/pAgDRCQLwQs
Performance “Que tu sitio carga rápido”
Performance • Conexión a Internet • Tipo de dispositivo
Auditando performance Firefox o Chrome
Análisis avanzado WebPageTest.org
¿Por qué 45 a 85?
https://hitrecord.org/records/1682099
None
✨ 5 recomendaciones ✨
1. Fuentes
Usar font-display: swap;
@font-face { font-family: Test; src: url(fuente.woff) format('woff'); font-display: swap; }
h1 { font-family: Test, sans-serif; }
Grupos de fuentes • Serif • Sans-Serif • Monospace •
Cursive
Cursive Comic Sans es la alternativa para los tipos de
fuente “Cursive”
Google fonts
None
Solo traer unas pocas letras https://fonts.googleapis.com/css2?family=Comfortaa&text=Hello https://developers.google.com/fonts/docs/css2#optimizing_for_latency_and_file_size
None
2. Imágenes responsive
None
None
Imágenes • Como fondo, desde CSS • En HTML, con
la etiqueta <img>
CSS, como imagen de fondo • Usar media queries con
distintas imágenes • Distintos recortes • Distintos tamaños • … Menor peso para mobile
HTML, con la etiqueta <img> • Usar la etiqueta <picture>
<picture> <source srcset="imagen-peque.png" media="(max-width: 800px)"> <img src="imagen-grande.png" alt="Texto alternativo"> </picture>
None
None
3. Realmente achicar las imágenes
None
https://tinypng.com/
Webp https://developers.google.com/speed/webp
https://siipo.la/blog/is-webp-really-better-than-jpeg
Usando webp con <picture> <picture> <source srcset="logo.webp" type="image/webp"> <img src="logo.png"
alt="logo"> </picture>
None
4. Mejor que performance, es aparentar performance
None
None
None
None
None
None
None
None
None
♥Firefox ♥ Color picker
None
Mención especial
Lazy loading https://www.smashingmagazine.com/2018/01/deferring-lazy-loading- intersection-observer-api/
https://css-tricks.com/native-lazy-loading/
None
5. Mantener una buena performance
https://motherfuckingwebsite.com/
Medir performance a través del tiempo https://web.dev/measure
None
Mejoras (o no) a través del tiempo
None
Performace en front-end 1. Fuentes con display: swap; 2. Distintas
sources por cada dispositivo 3. Pasar tus imágenes por el panda 4. “Sensación” de performante 5. Intentar no perder lo logrado
¡Gracias!