Tuesday, October 12, 2021

What Is First Contentful Paint? + An Action Plan to Improve It

If you could improve your website's performance by 10%, would you?

Site performance scoring is a complex web of metrics, and First Contentful Paint (FCP) is just one factor Google considers when evaluating page load speed. Responsible for 10% of a website's overall performance score, FCP plays an important role in creating a positive user experience for visitors.

A site's First Contentful Paint (FCP) is the total time it takes a page to load from the moment the request is sent to the point that any content is rendered on the screen.

→ Download Now: SEO Starter Pack [Free Kit]

The higher the FCP score, the slower the content loads. When visitors think a page takes too long to load, it can be a major red flag. In a study by Top Designs Firms, 42% of people said they would leave a poorly functioning website.

But a low FCP score shows that the page is loading quickly, which means content will be delivered sooner. And fast-loading content is one way to keep visitors scrolling your site. In fact, Deloitte found that a 0.1-second improvement in load time increased conversions by 8.4% for retail sites and 10.1% for travel sites.

When a millisecond makes a difference, it's best to do whatever you can to improve your site speed. So let's take a look at how to lower FCP to make your site as fast and user-friendly as possible.

What is First Contentful Paint?

First Contentful Paint (FCP) is the amount of time it takes for a user to see the first content on a website, whether it's images, text, logos, background graphics, or non-white <canvas> elements. FCP evaluates how users experience a website's page load speed by measuring what people actually perceive, rather than the results of a speed test tool.

In the timeline below, you can see FCP play out in the second frame when the first text and image elements appear on the screen.

First contentful paint timeline for web search

Image Source

First Contentful Paint is one of six metrics tracked in the Google Lighthouse Performance report, along with Time to Interactive, Speed Index, Total Blocking Time, Largest Contentful Paint, and Cumulative Layout Shift. Each metric measures an aspect of page load speed.

Lighthouse First Contentful Paint performance report

Image Source

First Contentful Paint is an important metric for judging the page load timeline because it marks the point where a user can see that something is happening on the screen. Without this reassurance, a user might leave the page to browse a faster website.

First Contentful Paint differs from the Core Web Vitals Largest Contentful Paint (LCP) because LCP measures the time it takes for the largest element on a website to become visible. On the other hand, FCP measures the first element to load, which isn't necessarily the largest element.

A quick LCP helps assure people that the main content is useful to them. But a fast FCP reassures people that something is happening on the page, which can keep them around long enough for the rest of the page to load.

How to Test First Contentful Paint

FCP can be measured in the lab (pre-release) and in the field (real-world users).

Testing FCP in the lab is a good way to work out issues before your site goes live, but it isn't the most accurate way to evaluate performance. That's where field testing comes in, showing you how people interact with your site when there are differences in devices, network connections, and user interactions.

You can use the following tools to test First Contentful Paint:

Field Tools

Lab Tools

For this article, let's walk through what it looks like to run a test with Lighthouse – an open-source, automated tool for improving the quality of web pages. (If you've never run this audit before, follow the link for easy step-by-step instructions).

Once you run the test for a given URL, Lighthouse opens a new tab to share the site performance overview. In the example below, the site is performing well in SEO and Accessibility but needs work on Performance and Best Practices.

Lighthouse site performance overview

Image Source

Going deeper, the audit also gives scores for each of the six performance metrics, including First Contentful Paint (FCP). In the test shown below, the FCP score is 2.5 seconds – a time that "needs improvement."

Lighthouse web page performance metrics including First Contentful Paint

Image Source

But you need to know what makes a "good" score in order to improve FCP.

The Ideal First Contentful Paint Speed

Google recommends a First Contentful Paint scoring of 1.8 seconds or less in order to provide your site visitors with a good browsing experience.

First contentful paint scoring

Image Source

But what determines your FCP score?

Like all things Google, there's a method to the metric. Your FCP score is determined by comparing your site's FCP time to FCP times for real sites, using data from the HTTP Archive. You can dive deeper to see how Lighthouse determines thresholds and metric scores.

When evaluating your FCP score, Google says "a good threshold to measure is the 75th percentile of page loads, segmented across mobile and desktop devices." This helps get an accurate representation of the user experience.

If your site has a poor FCP score, there are steps you can take to shave off seconds and create a faster site that visitors want to scroll through. But first, let's explore what leads to a poor score.

What Causes High First Contentful Paint

Large text files, slow server response time, and multiple page redirects can all contribute to a high First Contentful Paint score. If you have a high First Contentful Paint (FCP), it's likely due to one of these factors:

  • Slow font load time
  • Slow server response times (TTFB)
  • High request counts and large transfer sizes
  • Render-blocking resources
  • Unused or inefficient CSS
  • Script-based elements above the fold
  • Lazy loading above the fold
  • Not inlining images above the fold
  • Excessive DOM size
  • Multiple page redirects

But keep in mind, the Lighthouse Performance score is a weighted average of all the metric scores – and the FCP makes up 10% of that total. As a result, the heavily weighted scores will have a larger impact on your overall Performance scoring. Here's a look at how the other Lighthouse metrics are weighted:

Lighthouse web performance score weight for first contentful paint

Image Source

If your overall Performance score needs improvement, it can be best to spend time optimizing for Total Blocking Time or Largest Contentful Paint before tackling First Contentful Paint. As you implement good development practices across the site, it's likely your FCP score will lower.

But if you want to improve FCP, you can take a few targeted steps to move from a red to a green score.

How to Improve First Contentful Paint

It's not always simple to improve a First Contentful Paint (FCP) score. But with the right action plan in place, it's easier to prioritize the major errors that have the greatest impact. Let's break down how to go about it.

1. Create a list of high-priority issues.

The first step to lowering the FCP score for any site is to run the list of lab and field tests shared above to understand exactly what you need to work on.

Let's hop back into the Lighthouse performance report from earlier. If the FCP score "needs improvement," it's best to reference the opportunities or diagnostics recommendations in the report. To see all of the recommendations, toggle to the "All" tab. Or for recommendations specific to the First Contentful Paint (FCP) score, toggle to the "FCP" tab.

First contentful paint opportunities and diagnostics

Image Source

The above test shares two opportunities to improve FCP: eliminate render-blocking resources and ensure text remains visible during the Webfont load.

By learning the top issues affecting FCP, you'll have a list of where to focus and what to fix.

2. Learn what to ignore.

Another helpful feature of the Lighthouse performance report is letting you know what you don't need to focus on. This list is generated under the "Passed audits" section of the performance report.

First contentful paint passed audits in Lighthouse

Image Source

While it's okay to ignore these non-issues, know that Google constantly updates the metrics used to evaluate page load speed. It's good practice to routinely run tests to ensure site performance is on track – you may need to prioritize a "passed audit" one day.

3. Work with your web team to fix issues.

Once you know what issues to pay attention to, it's simply a matter of taking action to improve the ones impacting First Contentful Paint (FCP).

This post won't get into the weeds of web development. But these detailed guides from Google are excellent resources for understanding each factor that affects page speed and performance. If one is impacting your FCP score, you can take a look to learn how to fix the issue.

Whether your First Contentful Paint (FCP) score is showing red, yellow, or green, there are always improvements to be made. It's the fun – and sometimes, frustrating – part of web development.

But remember, small changes can have a big impact. Reducing server response times, compressing images, and being aware of the elements above the fold can lower your FCP score, speed up your site, and ensure site visitors have a faster, longer browsing experience.

marketing


What Is First Contentful Paint? + An Action Plan to Improve It was originally posted by Local Sign Company Irvine, Ca. https://goo.gl/4NmUQV https://goo.gl/bQ1zHR http://www.pearltrees.com/anaheimsigns

No comments: