atinux / nuxt-prismic-showcase

Showcase of Nuxt.js + Prismic.io CMS
https://nuxt-prismic.surge.sh/
50 stars 9 forks source link

Improved performance, Lighthouse audit #7

Open renardsas opened 4 years ago

renardsas commented 4 years ago

Hi, I generated a report using Lighthouse for nuxt-prismic-showcase Here result : lighthouse-results

I generated another report for a site I did with nuxt and nuxt-prismic. I get close results: lighthouse-site2-results

I set up lazy loading for images, cut to the right size, use next-gen formats, fix ensure test remains visible during webfont load by adding font-display: swap.

I read this article and set up vue-lazy-hydration to try to get better performance : https://markus.oberlehner.net/blog/how-to-drastically-reduce-estimated-input-latency-and-time-to-interactive-of-ssr-vue-applications/

But this did not bring a significant drop. What can be done to improve the result for Time to Interactive, First CPU Idle and Max Potential First Input Delay ?

Thank you

rylanharper commented 4 years ago

@renardsas I know your comment has been here a while, but here are the things I do to get a perfect 100 PWA with Nuxt and Prismic:

Hope this helps!:)