LukePrior / nbn-upgrade-map

Interactive map showing premises eligible for the NBN FTTP upgrade program.
https://lukeprior.github.io/nbn-upgrade-map/
MIT License
89 stars 11 forks source link

Improve mobile site performance #203

Open LukePrior opened 10 months ago

LukePrior commented 10 months ago

image image

https://pagespeed.web.dev/analysis/https-lukeprior-github-io-nbn-upgrade-map/oo8n14u5jd?form_factor=mobile

lyricnz commented 10 months ago

Related https://github.com/LukePrior/nbn-upgrade-map/issues/82

lyricnz commented 6 months ago

It may be worse now

image

And it's not great on Desktop either

image

But that may just be a bad cache-miss

image
LukePrior commented 6 months ago

I think as long as it's all hosted on GitHub we will have some limitations but I'm not seeing many complaints about performance...

LukePrior commented 6 months ago

Will wait for 28 days from service worker rollout to see if that helped at all.

LukePrior commented 4 months ago

Seems to have improved on both to acceptable levels for everything but INP

LukePrior commented 2 months ago

Now that INP is a core metric, I focused on reducing the blocking main thread work when loading the markers into Leaflet.

This has helped slightly and it seems to be trending down over the last week, will need to wait for complete 28 day period to confirm.

Mobile image

Desktop image