5 ms·
You could also uglify your CSS and HTML by removing redundant whitespace and newlines
by acjduncan 11y ago
You could also uglify your CSS and HTML by removing redundant whitespace and newlines
- jacquesm 11y agoI'll have a look to see what the differences are, gzip is already enabled so it might be less than on a site that sends all the data in plaintext over the wire.
- TheLoneWolfling 11y agoAlso, you could cut down the size slightly by shrinking div names. Sure, with gzip "aside.sidebar" isn't going to take much extra space, but it will take some. (That being said, please don't do this. Minified JS is bad enough.)
- jacquesm 11y agoI think I'm pretty close to the 'sweet spot' where further optimizations are both a waste of time and make the result much less useful in the longer term. But just for the sake of research I'm more than willing to play around to see what happens.
- TheLoneWolfling 11y agoIn that case... I wonder if reordering things (e.g. CSS rules) could improve the compression ratio.
- jacquesm 11y agoI'm still at the stage of dropping rules that aren't used. CSS tends to get pretty inefficient if enough people have hacked on the file and the one on my site is no exception to that. It'll still need some work. But even that is already in the realm of 'diminishing returns on investment'.