leofuturer / eDrops3

The 3rd generation of the eDrops web application.
MIT License
0 stars 0 forks source link

Optimizations [Long Term] #150

Open Kenny477 opened 2 weeks ago

Kenny477 commented 2 weeks ago

I mentioned a while back that our Lighthouse score was low, and even running on local, the main site feels slow and laggy (maybe its just me?).

Anyways, we should start going in and seeing what we can change to make the website more lightweight, more so on cleaning up code, compressing images, etc., and not toolchain changes (those require too much work).

We should ideally be seeing how we can preload large resources and reduce the bundle size of the site.

image

Above it what we are roughly at right now. We hopefully should really be able to get performance up.

Kenny477 commented 1 week ago

As a note, the above is on our dev server. I will be trying to work on optimizations for both dev and build.

Current dev server Lighthouse image

Current build Lighthouse image

Kenny477 commented 1 week ago

Key improvements:

Kenny477 commented 1 week ago

Ideally we should figure out how to lazy load our large background images on the home page.