~/talk

FaCSSt: CSS and Performance

Talkat Web Unleashed 2018 · 2018-10-01..10-02· [css, web-performance]
slides:none on file

Claims and numbers: embedding images as base64-encoded images in CSS inflates critical CSS and causes up to 10x slower first paint on mobile (examples: ~700ms vs ~7s), a large stylesheet costs ~200ms pause on a Moto G4, flattening @import to linked stylesheets cuts ~412ms in a case study, mixins gzip better than extends giving ~23–27% smaller transfers, alphabetizing CSS saves ~3.25% gzip, and crucially inline scripts block until CSS finishes downloading.

AI-written summary · about

  1. 0:00Start
  2. 4:14Larger files take longer to download...
  3. 5:42Light could travel 59,958km
  4. 7:35Base64 is an anti-pattern
  5. 7:46that increase is on your Critical Path
  6. 8:11An Experiment
  7. 14:12Selector Performance
  8. 25:44Mixin vs. @extend
  9. 27:27Mixins are better for performance than @extend
  10. 29:16Asset Domains
  11. 39:10Loading CSS and JS
  12. 39:23Inline scripts block on CSSOM construction
  13. 41:50Load the JS with the async attribute
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.