Open joeduffy opened 4 years ago
Ran some speed experiments today and here are the results:
Based on those results and I think the simplest path forward is lazy loading and using PurgeCSS to reduce our CSS bundle size. Though happy to hear other suggestions as well
Also note HTML minification was just merged (with https://github.com/pulumi/docs/pull/2456), which reduces page sizes by ~20%.
PurgeCSS work has landed (https://github.com/pulumi/docs/pull/2444). We saw a small increase in page speed but not the same increase as I was seeing locally. I will re-run the page speed test tomorrow AM and update the issue with the new metrics.
Updated page speed score after @cnunciato & my changes. Progress 💪
FWIW - this appears to have gone back down again.
slightly up again
@kimberleyamackenzie would you have interest in investigating performance on mobile?
@susanev yes, for sure!
@cnunciato @zchase i dropped yalls assignments, but if either of you start actively working on this before the user experience team picks it up pls reassign yourselves!
Thanks much. @kimberleyamackenzie note that we run Lighthouse on the website once a day as well (https://github.com/pulumi/docs/actions/workflows/check-lighthouse.yml), and we store the results of previous runs as GHA artifacts, so you should be able to see how things have changed at various URLs over time.
I didn't seen an issue already tracking this, so filing to make sure we don't lose track. We currently have relatively poor performance on mobile, as scored by Google:
This is hurting our SEO and ads performance.
Some specific ideas from @zchase to help move the needle here are:
I'm assigning to both @cnunciato and @zchase since I'm unsure who technically owns this.