Accelerate Your Website—With Your Logo

 Apr 18, 2020 ·  6min read

Technology Tutorials

Most people who care about their website’s performance probably use a website logo created by vector graphics software. Here’s how to take advantage of vectorized logos to speed up your website. Seriously.

The fine people from Crazy Egg are dedicated to optimizing websites. In an in-depth article in their blog, they look at why website speed matters and what one can do to reduce load times. I won’t link it right here—otherwise, you’ll get swallowed by their monster article and never return to this one! 😉 (You still can find the link at the bottom of this article if you’re interested.)

Screenshot of the website, April 2020

Suffice it to say: Yes, website speed matters. In this article, we’ll take a look at their (and my) top two recommendations:

  1. Minimize HTTP requests
  2. Minify and combine files

More specifically, I’ll show how you can implement these two recommendations with one of your most precious website assets: your logo. But first things first.

Types of Graphics Files 

In general, there are two types of graphics files: pixel- and vector-based.

Pixel-based graphics files store their information pixel by pixel, a little like this:

  • The first pixel in the first row of pixels has the color white.
  • The second pixel in the first row has the color white.
  • The third pixel in the first row has the color green.
  • The last pixel in the last row of pixels has the color white.

The big advantage of this approach is that we can store images with extremely rich details—and that the images can be displayed with a very high degree of fidelity as there’s no room for misinterpretation. This type is used to store and display photos.

The downside of this format is their fixed resolution: I.e., if you have stored a picture with a width and height of 100×100 pixels but want to display it on a surface of 1,000×1,000 pixels, you somehow have to compensate for the missing pixels. Typically, this leads to pixelated or blurry results:

Scaling a small pixel-based image is like telling the computer: “Please make the picture bigger and guess what the missing pixels would look like!”

On the other hand, if you have stored a picture with 10,000×10,000 pixels but only want to display it on a surface of 100×100 pixels, you have a lot more information than you need.

Vector-based graphics work differently: Instead of storing data on every single pixel, they describe shapes. It goes a bit like this:

  • The white canvas has an aspect ratio of 16:9.
  • There’s a blue oval with a height of 13% of the canvas’ total height and a ratio of 3:2. Its upper left corner sits at 20% height and 37.6% width of the canvas.

In contrast to the pixel-based format where every single pixel of the canvas and oval would be stored (fixing its resolution in the process), this vector-based description is extremely efficient and resolution-independent. Whenever you display this image, you can precisely calculate each pixel on the fly. It doesn’t matter how small or large your surface is—you’ll get crisp and sharp graphics every time.

Scaling a small vector-based image is like telling the computer: “Please redraw the same vectors, just bigger this time!”

This advantage, however, is lost if you want to store highly detailed pictures where you end up drawing single pixels as vectors. In this case, it’s more efficient to just store the pixels in a pixel-based format.

Vector-Based Graphics Files for Logos 

Logos are symbols. As such, they don’t try to replicate every single detail of a real-world object. Instead, good logos aim at abstracting and simplifying. Often, they’re crafted with geometric forms that easily can be described with mathematical formulas.

Small selection of famous logograms: Volkswagen, Olympics, Mitsubishi, Microsoft, Nike, Twitter, Apple, McDonald’s

In other words: Vector-based graphics files are a perfect fit for logos! Any even semi-professional designer nowadays will use vector graphics software to create logos.

Now let’s go back and see how this can help with the above recommendations to improve your website’s loading speed.

Minimizing HTTP Requests and Combining Files With Vectorized Logos 

Most of a website’s loading time is caused by requesting the different assets that make up a website: all the HTML, Javascript, CSS, font, icon, and image files etc. need to be downloaded.

Each of these requests consumes precious time so the goal is to minimize the number of requests necessary. It’s especially helpful if you can avoid requests for loading only small bits and pieces. It’s faster to download one larger file than two smaller files.

For example, this blog’s current logogram only weighs 1.69 KB in its SVG format. It’d result in a speed penalty requesting this file separately.

Wasting a separate request only to download a small file is like driving to the supermarket only to buy a single peanut.

The great thing about SVG: It’s not just a vector format but an XML notation, too. This means that you can put SVG files directly in HTML files (both are XML files after all). In other words: You merge your logo and your webpage into a single file.

If you do this, you reduce the number of requests necessary to display your page by 1 and improve your website’s loading speed!

Here’s the source of this blog’s logogram:

<svg width="100%" height="100%" viewBox="0 0 440 176" version="1.1" xmlns="" xmlns:xlink="" xml:space="preserve" xmlns:serif="" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">
    <g transform="matrix(1,0,0,1,-2574,-792)">
        <g id="Unprotected-primary-color-logogram-on-transparent-background" serif:id="Unprotected primary color logogram on transparent background" transform="matrix(1.12719,0,0,0.885774,2612.5,797.543)">
            <rect x="-34.159" y="-6.258" width="390.352" height="198.696" style="fill:none;"/>
            <clipPath id="_clip1">
                <rect x="-34.159" y="-6.258" width="390.352" height="198.696"/>
            <g clip-path="url(#_clip1)">
                <g transform="matrix(3.69565,0,0,4.16217,-240.2,-272.956)">
                    <g transform="matrix(0.105625,-6.62507e-18,5.86335e-18,0.119347,45.1899,52.1434)">
                        <path d="M100,500L300,300L100,100L167.274,100C252.258,100 333.761,133.757 393.857,193.846C397.723,197.712 400,199.988 400,199.988L500,99.976L699.976,100L800,200.024L900,100L1100,100L900,300L1100,500L1032.74,500C947.747,500 866.238,466.238 806.141,406.141C802.276,402.276 800,400 800,400L700,500L500,500L700,300L600,200.024L300,500L100,500Z" style="fill:rgb(0,170,255);"/>
                    <g transform="matrix(0.105625,0,0,0.119347,45.1899,40.2116)">
                        <path d="M500,599.976L900,199.976L700,199.953L300,599.976L500,599.976Z" style="fill:rgb(14,17,18);fill-opacity:0.2;"/>

See how easy it’d be to include this in your HTML pages?


This article explained how vector graphics like logos can be integrated directly into your webpages’ HTML. By combining files this way, the number of requests needed to load a website can be minimized—leading to shorter loading times.

So instead of saving your vectorized logos as pixel-based formats and loading them as separate assets in your website, just export your logos in SVG format and paste them directly into your HTML source!

20 Ways to Speed Up Your Website—And Improve Conversion by 7% 

Even a 1-second delay in your website’s load time can lead to lower revenue and traffic. Try these 20 tips to speed up your website in 2019.


I’m in no way affiliated with Crazy Egg. I’ve never employed their services and can’t speak to the quality of their work.

About the Author

Michael Schmidle

Head of Business Development at the Swiss Radio and TV, SRF. Start-up consultant, hobby music producer and blogger. Opinionated about strategy, leadership, and media. In love with Mexico. This blog reflects my personal views.

 LinkedIn  GitHub  SoundCloud

Recommended Articles

 Aug 18, 2019 ·  May 14, 2020 ·  6min read

Unhide Virtual Network Adapters in Windows 10

In Windows’ latest releases, Microsoft hides virtual adapters and networks by default. In some cases though, you need them to be available just like regular adapters and networks. Continue…

Technology Tutorials

 Nov 9, 2018 ·  3min read

Enabling JumpCloud on Unsupported Linux Systems

JumpCloud officially supports Debian, yet refuses to run on Debian-based systems like Proxmox Virtual Environment and Openmediavault. Let’s fix that. Continue…

Technology Tutorials

 Aug 2, 2018 ·  3min read

How to Advertise Subnets to Upstream Routers With OPNsense and ARP

If you ever wondered how to split a subnet away from a fixed upstream gateway, here’s how you can achieve this with ARP in OPNsense. Continue…

Technology Tutorials

 Jun 21, 2017 ·  4min read

Working Around the JumpCloud Curl Error 22

JumpCloud is a great tool to enable Single Sign-On for whatever devices you have. Find out how to work around curl error 22 to keep using it on Linux. Continue…

Technology Tutorials