jakub-studio / website

My personal portfolio/website
https://jakub.studio
0 stars 0 forks source link

Optimise site #37

Closed jakub-studio closed 1 year ago

jakub-studio commented 1 year ago

Currently lightGallery and markdoc are significantly slowing down FCP and are a huge bulk of data. This is drastically reducing performance on lower end devices and/or slow connections.

Current vercel stats

image

Current client bundle

Webpack bundle analyzer

Note the huge size of markdoc (top left) and lightgallery (centre)

Mobile Lighthouse score

Lighthouse score
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
jakub-studio-website ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 17, 2023 at 7:02PM (UTC)
jakub-studio commented 1 year ago

After moving markdoc renderer code to a local file, analyser page now looks like this:

image
jakub-studio commented 1 year ago

Merging as lightGallery replacement is a large task.

Removing the bulk of markdoc is a significant step in itself and changes should be impl asap.