Struggling with First Contentful Paint (FCP) events to your web site?
Whether or not or now not you’re now not even sure what First Contentful Paint is differently you’re in search of some specific recommendations on learn the way to boost up First Contentful Paint events to your web site, this submit is for you.
We’ll get began thru explaining what First Contentful Paint is and the best way you’ll measure it to your web site.
Then, we’ll percentage quite a few ways in which you’ll use to speed up FCP events to your web site. And to make this submit as to be had as imaginable, we’ll try to show off non-technical equipment and WordPress plugins that can assist you implement the entire thing.
Let’s dig in!
What’s First Contentful Paint (FCP)?
First Contentful Paint, frequently shortened to FCP, is a shopper experience-focused capability metric that measures how long it takes for the principle part of the internet web page to be visible on the client’s show.
FCP is an important metric because it affects perceived capability. When a buyer first visits your web site, their browser will display a blank show, which isn’t a excellent journey for visitors.
Once content material subject material starts loading, the client will a minimum of truly really feel like “something” is going on, and the full content material subject material of the internet web page will load briefly. As such, having a snappy FCP time may make the shopper truly really feel like your internet web page is speedy, although it nevertheless takes just a bit longer for the rest of the content material subject material to load.
In contrast, having a steady FCP time is exasperating for purchasers, as it if truth be told drives space the aim that the internet web page is taking a long time to load. There’s now not the rest worse than having visitors take a seat down there watching their blank presentations and wondering if your internet web page is even operating.
First Contentful Paint vs Biggest Contentful Paint
Greatest Contentful Paint (LCP) is each and every different same old client experience-focused metric that operates similarly to First Contentful Paint.
Because the metrics are so an equivalent, it can be difficult to understand the variations between First Contentful Paint vs Biggest Contentful Paint.
Proper right here’s the elemental difference between them:
- FCP — measures how long it takes the first object to seem. It’s going to smartly be the remainder — as long as some type of content material subject material turns out on the internet web page.
- LCP — measures how long it takes the internet web page’s main content material subject material to seem.
Because of this difference, your internet web page’s FCP time should always be a minimum of just a bit bit faster than your internet web page’s LCP time. By the use of the definition of the metrics, it’s now not imaginable to your LCP time to be faster than your FCP time. Even though they will technically be identical if the “first” part to load is the same as the “main” part, this received’t happen on most pages.
For example this, proper right here’s a visual filmstrip timeline of a WebPageTest analysis that we ran on the Kinsta homepage.
- FCP occurs throughout the 1.0-second filmstrip (.924 seconds, to be actual). That’s the number one time that it’s going from a blank white internet web page to having some visual content material subject material.
- LCP occurs throughout the 1.3-second filmstrip (1.217 seconds to be actual). This is when the “main” content material subject material of the internet web page is visible.

What is a brilliant First Contentful Paint time?
Google recommends that you simply function for a First Contentful Paint time of 1.8 seconds or a lot much less to your web site’s pages.
Google considers FCP events between 1.8 and 3.0 seconds as “Needs Enlargement,” while FCP events above 3.0 seconds are “Poor.”

How you can measure a internet web page’s First Contentful Paint time
Some of the most simple tactics to measure the First Contentful Paint time of a internet web page to your web site is the use of Google’s PageSpeed Insights software, although there are also different gear that you’ll use.
The good issue about PageSpeed Insights is that it’s going to come up with each and every simulated test results along with FCP data from exact consumers (if your web site has enough website online guests to be integrated throughout the Chrome Individual Revel in record).
It moreover covers each and every desktop and mobile capability, as your internet web page’s FCP time will vary depending on the client’s tool and connection tempo.
Proper right here’s learn the way to test a internet web page:
- Open the PageSpeed Insights web page.
- Enter the URL of the internet web page to your web site that you need to test.
- Click on at the Analyze button.
After a temporary wait, you should see your results.
If your web site has enough website online guests to be integrated throughout the Chrome Individual Revel in record, you’ll see 2 different FCP events:
- The time throughout the “Discover what your exact consumers are experiencing” section is the average FCP time for exact human visitors to your web site.
- The time throughout the “Diagnose capability issues” section is in keeping with a simulated test. You’ll have the ability to see the necessities for the simulation throughout the gray box beneath the numbers.
You’ll have the ability to moreover switch between mobile and desktop results thru the usage of the tabs on the most efficient.

To test other pages to your web site, you’ll repeat the identical process.
Your FCP events will vary depending on the internet web page, so we recommend checking out a few pages to get a excellent truly really feel to your web site’s capability.
For example, it’s imaginable you’ll test the homepage, the blog document internet web page, a single blog submit, and so on. And yet again, make sure that to try each and every mobile and desktop data.
Other ways to measure First Contentful Paint events
While PageSpeed Insights supplies one of the crucial simplest ways to look each and every exact and simulated FCP events to your web site, there are also other functionality trying out gear that you just’ll use as a supplement or replace for PageSpeed Insights.
Listed below are some excellent places to start out out:
- WebPageTest — lets you run simulated checks the usage of different connection speeds, units, and puts.
- Chrome Developer Apparatus — lets you run functionality checks without delay out of your browser.
- DebugBear — lets you run simulated tests from each and every desktop and mobile units and incorporates tons of data along side FCP.
- GTmetrix — lets you run simulated tests from different puts. You’ll have the ability to see the FCP time throughout the Potency tab — our complete information to GTmetrix trying out covers it in more part.
What can impact your web site’s FCP events?
At a over the top level, there are 2 “buckets” of issues that can slow down FCP:
- Slow server response time — if it takes your server too long to provide your web site’s data to consumers’ browsers, your internet web page may have a steady FCP time. This will include issues similar to sluggish website hosting or DNS, now not the usage of caching (which requires the server to do further art work previous than it may be able to serve a internet web page), now not the usage of a content material subject material provide neighborhood (CDN), and so on.
- Poorly optimized internet web page code — although your server responds briefly, it’s crucial nevertheless have a steady FCP time if your web site’s code is poorly optimized. For example, your internet web page will have tons of JavaScript that is blockading visible content material subject material from loading. There could also be problems with CSS, footage, or other areas of your web site’s code.
Depending to your web site, it’s crucial be experiencing issues in just one area or in each and every areas.
How you can boost up First Contentful Paint: 10 guidelines that art work
Now that you already know further about what First Contentful Paint is and why it problems let’s get into some actionable guidelines that you just’ll implement to make stronger your web site’s events.
The good issue about implementing the following advice is that they’ll reinforce all of your website’s functionality metrics, now not merely FCP.
Proper right here’s a quick summary of the document — we’ll go through them in detail beneath:
1. Switch to faster website hosting
There’s one unavoidable fact when it comes to FCP:
If your web site’s underlying website hosting is sluggish, your FCP will nevertheless be sluggish although you’ve a wonderfully optimized web site.
Implementing the other guidelines on this document will make your web site’s FCP events upper, then again your web site’s capability will always be bottlenecked thru the usual of your website hosting.
So — you’ll transfer ahead and implement the other guidelines on this document first. Then again should you occur to’re nevertheless struggling with sluggish FCP events after doing the entire thing else, it’s imaginable you’ll merely wish to transfer to quicker webhosting.
For individuals who’re now not sure where to start out out, Kinsta’s controlled WordPress webhosting makes a really perfect variety.
Not best possible is the underlying infrastructure optimized for capability, then again Kinsta can also help you automatically implement a lot of the other strategies on this document, at the side of caching, content material subject material provide neighborhood (CDN), optimized DNS, optimized footage, and additional.
2. Use internet web page caching (ideally at the server level)
For individuals who’ve built your internet web page with WordPress, it’s going to wish to dynamically process server-side code for each and every single buyer (thru default).
When a person visits your internet web page, your website hosting server will wish to execute WordPress’s PHP and query your website’s database so to generate the finished HTML report back to send to the shopper’s browser.
This takes time, in particular on low-powered website hosting, which may have a large affect to your web site’s FCP events.
With web page caching, you’ll “cache” the finished HTML type of each and every internet web page. Instead of needing to process server-side code for each and every visit, your server will instantly answer with the finished HTML in its cache.
For individuals who use Kinsta website hosting, Kinsta will automatically implement internet web page caching for you by way of its Edge Caching capacity.
The unique issue about Kinsta’s Edge Caching way is that it may be able to serve the cached pages from Cloudflare’s world community. We’ll discuss what a content material subject material provide neighborhood is throughout the next section, then again the high-level advantage is that it lets you reach very rapid world load occasions.

For individuals who’re website hosting somewhere else, you’ll take a look at to look if your host has a server-level caching serve as or use one of the crucial many WordPress caching plugins, similar to WP Rocket and FlyingPress.
3. Implement a content material subject material provide neighborhood (CDN)
A content material supply community (CDN) is a global neighborhood of servers that store a reproduction of a couple of or all of your web site’s content material subject material/data.
When a person visits your web site, the CDN will automatically serve your web site’s data from the website online that’s physically closest to the client.

On account of physically distance nevertheless plays a role in load events (we haven’t beaten the speed of light however!), the client’s browser will obtain your website’s information quicker, improving your FCP time.
For individuals who use Kinsta website hosting, Kinsta automatically implements a loose Cloudflare-powered CDN to your web site’s entire pages, which supplies the fastest international capability.
For individuals who’re website hosting somewhere else, you’ll implement a CDN yourself thru the usage of providers like Cloudflare, Amazon CloudFront, Fastly, and others.
4. Use a faster DNS provider
Faster than a shopper’s browser can connect to your internet web page’s server, it first needs to use the Area Identify Machine (DNS) to hunt out the real web server similar at the side of your web site’s house name.
The DNS provider that you simply’ve configured your house name to use will impact how long this process takes, which is in a position to because of this impact your web site’s FCP.
For example, in keeping with DNSPerf, the adaptation between the fastest provider and the slowest provider is over 130 ms, which is beautiful important.
For individuals who host with Kinsta, you already get get admission to to top class DNS powered through Amazon Route53 when you use Kinsta’s nameservers.

For individuals who’re website hosting somewhere else, Cloudflare supplies one of the crucial best free DNS services.
5. Optimize your web site’s CSS
Now that you simply’ve fastened server response time issues, it’s time to move into optimizing your web site’s code, starting with its CSS.
CSS controls the design and elegance of the elements to your internet web page. While it’s an crucial a part of any web page, your CSS might be slowing down your FCP events if it’s loading in an unoptimized method and/differently you’re loading pointless CSS on pages where it’s now not sought after.
We have now an entire submit on find out how to optimize CSS, then again let’s go through crucial tactics for rushing up FCP.
Remove unused CSS
First off, you’ll want to remove any unused CSS from pages where it’s now not sought after.
A method to take a look at that is the guide approach. A tool like PurifyCSS can scan your pages for unused CSS, and then you’ll manually remove that code. PageSpeed Insights will even flag unused CSS throughout the “Reduce unused CSS” section of its diagnostics.
However, should you occur to’re the usage of WordPress, there are some helpful plugins that can automate all of the process for you, which is so a lot more simple (in particular for non-developers). Some excellent possible choices to consider are WP Rocket, FlyingPress, and Perfmatters.
All of the ones plugins are most sensible magnificence equipment. However, we think they are able to be smartly definitely worth the investment because of they are able to moreover help you implement a lot of the other guidelines on this document.

Inline critical CSS and defer non-critical CSS
By the use of default, your web site will maximum unquestionably wait until it’s loaded all of the CSS code previous than it starts rendering the above-the-fold content material subject material. However, this isn’t completely optimal from a shopper journey standpoint because you if truth be told best possible need the CSS required for the above-the-fold content material subject material — the entire thing else can wait until later.
The CSS for a internet web page’s above-the-fold content material subject material is referred to as the critical CSS.
To speed up your internet web page’s FCP and other capability metrics, you’ll place this critical CSS directly throughout the internet web page’s section (AKA hanging it inline) reasonably than loading it as part of an external stylesheet.
For added sophisticated consumers, you’ll manually generate a internet web page’s critical CSS the use of a device like this one.
Then again yet again, on WordPress, you’ll automate this process for each and every specific particular person internet web page to your web site the usage of FlyingPress or WP Rocket.
Each time you’ve inlined the intense CSS on a internet web page, you’ll safely defer loading the rest of the internet web page’s CSS until later throughout the internet web page load process (after the above-the-fold content material subject material has already been rendered).
Every WP Rocket and FlyingPress will automatically do this for you as part of their critical CSS capacity, which is another reason to consider the usage of them.

Minify CSS code
Finally, differently so that you could upload a tiny bit of capability to your web site’s CSS code is to minify it. When you minify the CSS code, you are taking away pointless characters and whitespaces, which is in a position to add some further marginal size monetary financial savings.
Plugins like WP Rocket and FlyingPress can do this for you. You’ll have the ability to moreover to seek out minification-specific plugins like Rapid Pace Minify.
6. Optimize your web site’s JavaScript
At the side of CSS, your web site’s JavaScript is each and every different area where you’ll want to spend some time optimizing your web site’s code.
As with CSS, there are a selection of different strategies that you just’ll implement to reduce the have an effect on of JavaScript to your web site’s FCP events.
Don’t use JavaScript-dependent portions above-the-fold
For individuals who rely on JavaScript to power important above-the-fold capacity, similar to your website’s navigation menu (this is in particular not unusual for the mobile type of a web site, as many mobile menus rely on JavaScript), this will likely slow down your FCP time because of consumers’ browsers wish to load the heavy JavaScript previous than they are able to get began rendering the internet web page.
For individuals who’re the usage of WordPress, opting for a performance-optimized theme should help you avoid this, as excellent developers will avoid relying on JavaScript for the ones functions.
You’ll have the ability to moreover try to avoid the use of sliders and other JavaScript-powered portions in above-the-fold areas.
Remove pointless JavaScript
Whilst you’ll want to put a definite emphasis on reducing JavaScript usage in above-the-fold portions, it’s moreover merely maximum incessantly a good idea to remove as so much pointless JavaScript from each and every internet web page as imaginable.
To start out out, you’ll want to delete any WordPress plugins that don’t make a vital building to your web site, as many WordPress plugins rely on JavaScript for their capacity.
An alternative choice is to use a script manager plugin like Asset CleanUp or Perfmatters to disable JavaScript on a page-by-page basis, which lets you disable scripts on pages where they aren’t sought after while nevertheless leaving them enabled on other pages.
We if truth be told have a further technical data on find out how to disable plugins on a page-by-page basis.
Do away with render-blocking JavaScript (defer or lengthen)
It doesn’t subject what, you’ll maximum unquestionably nevertheless wish to load a minimum of some JavaScript to your internet web page. To make sure this JavaScript doesn’t intrude with loading above-the-fold content material subject material, there are 2 not unusual strategies that you just’ll implement:
- Defer render-blocking JavaScript — you’ll avoid blockading other content material subject material from loading thru deferring the loading of JavaScript until later throughout the internet web page rendering process. You’ll have the ability to use defer or async, and there are WordPress plugins to automate this process.
- Extend JavaScript until client interaction—you’ll completely wait to load some or all of your web site’s JavaScript until a shopper interacts with the internet web page (as an example, clicking or scrolling). This gives the most productive capability building, then again it’s imaginable you’ll wish to manually exclude sure scripts to avoid causing problems.
You’ll have the ability to implement either one of the ones tactics on WordPress by way of plugins like WP Rocket or FlyingPress.

We also have guides on find out how to defer parsing JavaScript and find out how to do away with render-blocking sources.
Minify JavaScript code
Finally, you’ll want to minify your website’s last JavaScript to achieve some additional small capability benefits thru taking away pointless characters.
As with minifying CSS, most caching and serve as plugins (at the side of WP Rocket and FlyingPress) can do this for you. You’ll have the ability to moreover use a targeted plugin like Fast Tempo Minify.
7. Disable lazy loading for above-the-fold footage
With image lazy loading, you’ll extend loading your website’s pictures until they’re sought after (e.g., a shopper scrolls down the internet web page).
Normally, this is a excellent issue for capability should you occur to’re lazy loading footage which could be beneath the fold. However, the usage of lazy loading for above-the-fold footage can in reality negatively impact your web site’s FCP and LCP events.
Therefore, you’ll want to just be sure you exclude any above-the-fold footage from being lazy loaded.
For individuals who’re the usage of the core lazy loading serve as in WordPress, WordPress should do this automatically. Then again should you occur to’re experiencing issues, you’ll manually control this conduct the usage of the wp_omit_loading_attr_threshold serve as.
For individuals who’re the usage of a plugin for lazy loading, the plugin should optimistically come up with an selection to take a look at this. For example, Perfmatters lets you automatically exclude a certain number of major footage and manually exclude specific footage if sought after.

If your plugin doesn’t offer this feature, consider switching to one that does.
8. Optimize font provide
To ensure that text content material subject material is visible while loading (which is in a position to impact your FCP events and client journey), it’s important to moreover optimize how fonts load should you occur to’re the use of customized fonts (similar to fonts that you found out on Google Fonts).
To avoid problems, you’ll use the Font-Show: Non-compulsory or Font-Show: Switch CSS descriptors.
With Font-Display: Optional, you’ll tell consumers’ browsers to use a fallback font if the custom designed font doesn’t load briefly enough.
For individuals who don’t want to add this the usage of your individual CSS, there are a variety of WordPress plugins that can optimize font loading for you, at the side of WP Rocket, FlyingPress, and Perfmatters.

9. Try to scale back DOM size as much as imaginable
In keeping with Mozilla, the Report Object Taste (DOM) is “the ideas representation of the pieces that comprise the development and content material subject material of a document on the internet.”
While human visitors received’t engage with the DOM directly, a internet web page’s DOM is important for helping web browsers understand and display the content material subject material on a internet web page.
As a fundamental rule, having a larger and additional sophisticated DOM will lead to slower FCP events than a shorter, optimized DOM development.
Listed below are some tips to scale back your web site’s DOM size:
- Use a performance-optimized WordPress theme — on WordPress, your theme will play a big serve as on your web site’s DOM size. Check out our data-backed posts with the quickest WordPress topics and the quickest WooCommerce topics.
- Use the Internet web page Injury block — you’ll break up a chronic internet web page the usage of the Internet web page Injury block.
- Optimize pagination — you’ll use pagination in WordPress to break up the pages that document your blog posts (or other customized put up sorts).
- Show excerpts — instead of showing the full text on document pages, consider appearing an excerpt as an alternative.
- Prohibit or avoid the usage of “heavy” internet web page builders — while visible, drag-and-drop web page developers will also be if truth be told nice from a design standpoint, they are able to moreover add a lot of bloat to the DOM. From a capability standpoint, you’ll be better off sticking with the local editor. Chances are you’ll to seek out that the capability tradeoff of a visual builder is worth it for the added design power, and that’s generally good enough as long as you’re implementing the other guidelines.
10. Keep away from redirects (in particular a few redirects)
Redirects will assist you to send website online guests from one URL to each and every different URL previous than the internet web page so much. For example, it’s imaginable you’ll redirect someone who visits the HTTP type of your web site to the HTTPS type.
However, given that redirect needs to complete previous than the shopper’s browser can load the internet web page, each and every redirect typically supplies plenty of milliseconds of lengthen to your web site’s FCP time (and other capability metrics).
Listed below are some tips to avoid pointless redirects:
- Substitute hardcoded URLs if switching from HTTP to HTTPS — should you occur to transfer your website to HTTPS, you should in reality substitute all of the URLs on your web site’s database to use HTTPS instead of relying on redirects.
- Degree URLs to right kind WWW or non-WWW diversifications — make sure that all of your URLs use the correct type to avoid redirecting from WWW to non-WWW (or vice versa).
- Restore broken inside links — substitute any inside hyperlinks which might be damaged instead of relying on redirects to send consumers to the best spot.
- Ask other web sites to fix broken external links (if successful) — should you occur to’re receiving a lot of website online guests to a broken link from a third-party web site, you’ll reach out to the web site owner and ask them to fix the link instead of relying on redirects.
To look out redirect issues, you’ll use the loose Kinsta redirect checker software. We if truth be told have a submit on WordPress redirect absolute best practices.
For example, proper right here you’ll see that Kinsta’s redirect checker detected a few redirects when we entered http://www.wordpress.org for the reason that URL:
- One redirect from HTTP to HTTPS.
- A second redirect from WWW to non-WWW.

For individuals who see a few redirects like this, you’ll wish to restore them.
Summary
First Contentful Paint is a shopper experience-focused capability metric that lets you see how long it takes for the principle piece of content material subject material to turn into visible to your internet web page. It’s similar to, then again reasonably different from, Biggest Contentful Paint.
For individuals who optimize your web site’s First Contentful Paint time, it’s going to have the natural affect of moreover improving your Biggest Contentful Paint events, at the side of most other capability metrics to your web site.
To speed up your events, you’ll want to focal point on optimizing each and every your web site’s frontend code and server response time.
For individuals who put a web site with optimized code on rapid WordPress webhosting like Kinsta, you should be capable to get your web site’s FCP events well beneath the 1.8-second mark that Google considers “Superb.”
The submit First Contentful Paint defined: find out how to reinforce your time seemed first on Kinsta®.
Contents
- 1 What’s First Contentful Paint (FCP)?
- 2 What is a brilliant First Contentful Paint time?
- 3 How you can measure a internet web page’s First Contentful Paint time
- 4 What can impact your web site’s FCP events?
- 5 How you can boost up First Contentful Paint: 10 guidelines that art work
- 5.1 1. Switch to faster website hosting
- 5.2 2. Use internet web page caching (ideally at the server level)
- 5.3 3. Implement a content material subject material provide neighborhood (CDN)
- 5.4 4. Use a faster DNS provider
- 5.5 5. Optimize your web site’s CSS
- 5.6 6. Optimize your web site’s JavaScript
- 5.7 7. Disable lazy loading for above-the-fold footage
- 5.8 8. Optimize font provide
- 5.9 9. Try to scale back DOM size as much as imaginable
- 5.10 10. Keep away from redirects (in particular a few redirects)
- 6 Summary
- 7 What’s Microsoft Rewards and The right way to Earn Praise Issues
- 8 Find out how to Create Cell Sticky Footer Bars in Divi
- 9 Learn how to Create Your First Internet Shape (Educational)
0 Comments