Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
maxk42
· 3y ago · 0 comments
Why on Earth didn't you just inline it?
Comments
[–]
TacticalCoder
3y ago
So that it gets cached by the browser?
[–]
maxk42
OP
3y ago
In this case the extra request to the server (and associated response) to check if the file has been modified is several times larger than the minified size of the SVG inline. It's literally faster and fewer requests to inline it.