Skip to main content
Version: 2.x

Improve your Core Web Vitals

Core Web Vitals are metrics describing how your pages load for users. By understanding their meaning, you will be able to improve your application's perceived performance. This guide provides information to help with this process in a Front-Commerce project.

We will keep improving this page over time.

Interesting content on the web

Front-Commerce tips

Mark above-the-fold images as priority

Using: <Image src="xxxx" priority />

Improve your fonts performance

One query per route

You must aim at One GraphQL query per Front-Commerce route. Keep additional queries for secondary content.

Ensure that this query is preloadable (using the top level graphqlWithPreload HOC).