~/talk

CSS Lint for Massive Sites

Talkat JSConf.eu 2010 · 2010-09-25..09-26· [css, web-performance]
slides:none on file

Audit of Alexa top 1000 sites shows concrete failures: 42% not gzipping, 44% have >2 CSS files, 56% send CSS with cookies, and many sites exceed 100 KB. A hands‑on workflow uses grep and visual inventory to extract repeated objects, builds a component library (media object) to remove duplication, and automates checks with a CSS lint/testing tool written in JavaScript. At scale this fixes bloat — e.g. an initial 1.9 megabytes of CSS and 706 files leads to measurable gains and a reduced response time in half.

AI-written summary · about

  1. 0:00Start
  2. 2:58WHY OPTIMIZE CSS?
  3. 9:4744% HAVE MORE THAN 2 CSS FILES
  4. 10:0462% DON'T MINIFY
  5. 10:2321% HAVE 100K OF CSS
  6. 20:107 SMALLER OBJECTS
  7. 24:58SIMPLE STEPS TO A VISUAL INVENTORY
  8. 25:56TEXT TREATMENTS (TINY EXCERPT)
  9. 26:19LOOK MORE CLOSELY...
  10. 27:26SIMPLE OBJECTS
  11. 28:09WHAT DON'T WE KNOW?
  12. 30:17SEPARATE STRUCTURE FROM CHROME
  13. 30:50A FEW LINES OF HTML...
  14. 31:074 LINES OF CSS...
  15. 32:35WHAT MAKES A GOOD COMPONENT?
  16. 37:31KONGREGATE DEMO
  17. 40:24STEPS TO INTEGRATE
  18. 41:51TWO MAIN PIECES
  19. 42:02TESTING RENDERING
  20. 42:38LINTING
  21. 43:38GRIDS
~/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.