Skip to content
  • Peter Serwylo's avatar
    Don't embed f-droid logo SVG in each page. Reference from <img> instead. · 83c65ed0
    Peter Serwylo authored
    The .svg is 23KiB large, which adds quite a lot once you add up how
    many pages are output for our Jekyll site. Each of the 2000 package
    pages is only about 50KiB at most, so adding 23KiB to > 2000 .html
    files results in almost 100MiB of space, just for the header image.
    
    By moving from including the svg source via Jekyll to using an <img>
    tag, we save about 100MiB for free, and the browser will still cache the
    .svg just fine.
    83c65ed0