3 ms·
The problem with having repetition in your compiled CSS files is that they become bigger as a result. Depending on how much you care about page load speed, this
by ahlatimer 16y ago
The problem with having repetition in your compiled CSS files is that they become bigger as a result. Depending on how much you care about page load speed, this can be an issue.
I'm not entirely sure what she's suggesting since I'm reading the slides without any context, but it seems, given the thing about cutting down css file size for Facebook, the method she's suggesting reduces duplication in the actual css file.
- rimantas 16y agoThis is not that big a problem, because CSS can be downloaded once, and cached forever. If you add gazillion of classes to your markup, then they got send over the wire each time you load the page.