| ▲ | robin_reala 2 hours ago | |
Those class names surely gzip better than hashes over the wire? | ||
| ▲ | efortis an hour ago | parent | next [-] | |
Here's a comparison using `brotli --best` on my app.
Both, dev and prod, have hashes because that's part of what CSS Modules uses to avoid collisions.Besides download size, smaller names improve parsing speed too. | ||
| ▲ | notpushkin an hour ago | parent | prev [-] | |
This. The only thing hashing classes achieves is making it difficult for users to use ad blockers and/or custom CSS. I understand why e.g. Meta does it on their sites, but for GitHub it makes no sense. | ||