Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
ryannevius
10y ago
0 comments
Save
Share
Are `class` attributes cached more efficiently than `style` attributes for some reason?
0 comments
1 comments · 1 top-level
top
newest
oldest
Touche
10y ago
I assume he/she means that CSS is cached as an http resource and can be reused in different pages, whereas style attributes are only cached as part of the page; ie using them adds page weight.
j
/
k
navigate · click thread line to collapse