Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
ryannevius
9y ago
0 comments
Share
Are `class` attributes cached more efficiently than `style` attributes for some reason?
0 comments
default
newest
oldest
Touche
9y 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