quarkusio / extensions

The source of https://quarkus.io/extensions
Apache License 2.0
6 stars 4 forks source link

Ensure navigation is smooth between extensions and main quarkus.io #143

Open holly-cummins opened 1 year ago

holly-cummins commented 1 year ago

I notice the whole menu component flashes when navigating from the main site to extensions, breaking the illusion that it's a single site.

There are a few possible solutions

holly-cummins commented 10 months ago

Lighthouse confirms that it's ... uh ... not good:

image image

These are the failing checks:

Largest Contentful Paint

Largest Contentful Paint marks the time at which the largest text or image is painted. Learn more about the Largest Contentful Paint metric

Total Blocking Time

Sum of all time periods between FCP and Time to Interactive, when task length exceeded 50ms, expressed in milliseconds. Learn more about the Total Blocking Time metric.

Max Potential First Input Delay

The maximum potential First Input Delay that your users could experience is the duration of the longest task. Learn more about the Maximum Potential First Input Delay metric.

Avoid an excessive DOM size

A large DOM will increase memory usage, cause longer style calculations, and produce costly layout reflows. Learn how to avoid an excessive DOM size.

Minimize main-thread work

Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work

Page prevented back/forward cache restoration

Many navigations are performed by going back to a previous page, or forwards again. The back/forward cache (bfcache) can speed up these return navigations. Learn more about the bfcache