marko-js / website

The markojs.com website
http://markojs.com
MIT License
37 stars 25 forks source link

Optimize images #76

Closed tigt closed 2 years ago

tigt commented 2 years ago

Knocking that many kB off the homepage is nothing to sneeze at. According to FF Devtools when running npm run dev:

Branch Image bytes transferred
This PR 475.07kB
master 774.20kB
Difference −299.13kB

(385kB of the total is from the GitHub contributors, which are lazily-loaded)

tigt commented 2 years ago

Oop, forgot the most important one of the VS Code screenshot; that removed like 250kB. I also see the Discord logo changed slightly, so I’ll fix that (TL;DR shape needs to be broken up)

tigt commented 2 years ago

Looks like I also got SVG versions of OpenJSF/OSI in https://github.com/marko-js/website/pull/46 — I should have been lazier about checking my earlier work!

tigt commented 2 years ago

Got merge approval from @DylanPiercey in the Discord