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
Eva Ferreira
July 29, 2020
Programming
0
91
De 45 a 85
Charla de web performance para Women Who Code - Buenos Aires
Eva Ferreira
July 29, 2020
Tweet
Share
More Decks by Eva Ferreira
See All by Eva Ferreira
Good intentions gone bad
evaferreira
0
200
Bulletproof your Design System
evaferreira
0
100
Tales of Accessibility Failures
evaferreira
0
35
Tales of Accessibility Failures
evaferreira
0
190
La accesibilidad de todos los días - HackAcademy
evaferreira
0
120
Rescue the Dead Horse
evaferreira
0
130
Oda a la década++
evaferreira
1
120
Take on me
evaferreira
3
560
Video edition with CSS & JavaScript
evaferreira
1
290
Other Decks in Programming
See All in Programming
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
170
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
670
CloudNativePGがCNCF Sandboxプロジェクトになったぞ! 〜CloudNativePGの仕組みの紹介〜
nnaka2992
0
220
Amazon S3 TablesとAmazon S3 Metadataを触ってみた / 20250201-jawsug-tochigi-s3tables-s3metadata
kasacchiful
0
100
2024年のkintone API振り返りと2025年 / kintone API look back in 2024
tasshi
0
210
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
480
いりゃあせ、PHPカンファレンス名古屋2025 / Welcome to PHP Conference Nagoya 2025
ttskch
1
270
Software Architecture
hschwentner
6
2.1k
『品質』という言葉が嫌いな理由
korimu
0
160
CI改善もDatadogとともに
taumu
0
110
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
230
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
Featured
See All Featured
Side Projects
sachag
452
42k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Designing Experiences People Love
moore
139
23k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
950
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Designing for Performance
lara
604
68k
Embracing the Ebb and Flow
colly
84
4.6k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Faster Mobile Websites
deanohume
306
31k
Writing Fast Ruby
sferik
628
61k
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!