Hacker News new | ask | show | jobs
by worg 61 days ago
Reducing egress bandwidth, if you have automated clients that don't support JS you save precious bytes from being served by not embedding the SVG, which at example.com scale may be worth it
1 comments

Wouldn't removing the pointless SVG image entirely save the most precious bytes from being served no matter if JS (or SVG) is supported or not?

  >pointless SVG image
Why aren't we all eating inexpensive gruel instead of "pointless" food? Same reason.

It's good to have a little color/flavor/spice in life.

Ah yes because bog standard corporate design is how you add color/flavor/spice in life.
Judging by the reaction to one SVG, it's the most they could do! Can you imagine if it was some art nouveau project instead?

Good for them, and it's still better than nothing. Without it the page would almost looked broken it's so bare.

They could have left it as before. That design at least had the character of old infrastructure or an example website.
They could have, and they did, for many years! But i18n is important, and including some tiny art was nice too. Life is short, so put some art in places where a Protestant wouldn't. ;)

And if you visit with JS turned off, you get exactly what you're asking for. This seems like a sensible compromise.

The SVG itself is pretty interesting, all of 355 bytes before compression! Prettified version below:

  <svg viewBox=0,0,20,20 width=44 height=44 fill=currentColor aria- hidden=true>
    <path fill=none stroke=currentColor stroke-width=1.3 stroke-linejoin=round d="M6 4H3v12q 4 0 7 1.5-1-3.5-4-4.5V2q3.5 1 4 3v12.5q3-1.5 7-1.5V4q-4.5 0-7 1"/>
    <g transform=rotate(-6,13.6,8.3)>
      <path id=q d="M11.5 6.6h1.8v1.8l-1 1.6-.6-.3.8-1.3h-1z"/>
      <use href=#q x=2.4 />
    </g>
  </svg>