2 ms·
Remarkbox does this with the default profile avatar, just-in-time dynamically rendered and inlined SVGs. I've considered storing each default SVG into the user
by foxhop 6y ago
Remarkbox does this with the default profile avatar, just-in-time dynamically rendered and inlined SVGs.
I've considered storing each default SVG into the user table and then inlining in the HTML but decided to wait on that optimization since inlining dynamic SVGs itself was such a significant speed boost, especially on threads with hundreds of comments.
Without inlining, each profile image or SVG would be a separate request parallel HTTP request and often at least a couple requests would be slow.
https://www.remarkbox.com https://www.remarkbox.com