Y
Hacker News
new
|
ask
|
show
|
jobs
The three lines of CSS that saved me 40kb and might do the same for you
(
blog.welcomehome.city
)
9 points
by
speckx
7 hours ago
1 comments
dado3212
6 hours ago
You can also strip unused characters from fonts! I use Prism to render code blocks on my blog, which pulls in FontAwesome for only two characters. Stripping all but those two characters reduced the font file size from 160kb to 680 bytes.[0]
[0].
https://blog.alexbeals.com/posts/remove-unused-characters-fo...
link
[0]. https://blog.alexbeals.com/posts/remove-unused-characters-fo...