getAlby / website

DEPRECATED - no longer in use
https://getalby.com
2 stars 10 forks source link

Improve Lighthouse stats #110

Closed RajVarsani closed 2 years ago

RajVarsani commented 2 years ago

Report : GETALBY_LIGHTHOUSE_REPORT.pdf

These were the network stats for hard reload: image

Typical reload with caching: image

Even in a typical reload, the time to get the site interactive is much higher, and there are huge layout shifts. It's mainly because of a few huge files, in particular, 1 file with a size of 8.5MB ( It alone takes around 1.2 min to load, making the user experience worse ) image

bumi commented 2 years ago

thanks for raising this. this is not acceptable and must be fixed asap. our tiny website must also be tiny in terms of KB. Everyone must check that images are small (I guess those images should be way below 500kb). I should have caught that in the review.

@RajVarsani do you know if we can add a CI check for this?

RajVarsani commented 2 years ago

I don't know about any CI check for this. I'll try searching if there is any prebuilt check for the same.