Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ranyefet
on May 23, 2016
|
parent
|
context
|
favorite
| on:
Universal.css
Better caching, smaller HTML size and the ability to use inline styles if you do need to override something
ryannevius
on May 23, 2016
[–]
Are `class` attributes cached more efficiently than `style` attributes for some reason?
Touche
on May 23, 2016
|
parent
[–]
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.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: