base64 inline your image with the HTML and you should be well past that threshold.
It's preferable to not make additional requests (like for an image) on an error page - in case the requested server is at fault - breaking the error page.
It's preferable to not make additional requests (like for an image) on an error page - in case the requested server is at fault - breaking the error page.
<link id="favicon" rel="icon" type="image/svg+xml" href="data:image/svg+xml,
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'>
<rect width='1' height='1' fill='DodgerBlue' />
</svg>"
>
What's nice is that this opens up the possibility to generate dynamic favicons really easily using only string interpolation.Thanks for the tip, and the many examples on your site!
And if the server has broken so badly it can't send out that image, then I have much bigger worries than an ugly 404 page.