First Contentful Paint (FCP) is one of six metrics tracked in thePerformancesection of the Lighthouse report. Each metric captures some aspect of page load speed.
FCP measures how long it takes the browser to render the first piece of DOM content after a user navigates to your page. Images, non-white<canvas>elements, and SVGs on your page are considered DOM content; anything inside an iframeisn'tincluded.
To learn how to measure when FCP actually occurs on your users' devices, see Google'sUser-centric Performance Metricspage. TheTracking FP/FCPsection describes how to programmatically access FCP data and submit it to Google Analytics.
Unless you have a specific reason for focusing on a particular metric, it's usually better to focus on improving your overall Performance score.
Use theOpportunitiessection of your Lighthouse report to determine which improvements will have the most value for your page. The more significant the opportunity, the greater the effect it will have on your Performance score. For example, the Lighthouse screenshot below shows thateliminating render-blocking resourceswill yield the biggest improvement:
Every single page can have its LCP value broken down into these four sub-parts. There is no overlap or gap between them, and collectively they add up to the full LCP time.
When optimizing LCP, it's helpful to try to optimize these sub-parts individually. But it's also important to keep in mind that you need to optimize all of them. In some cases, an optimization applied to one part will not improve LCP, it will just shift the time saved to another part.
For example, in the earlier network waterfall, if you reduced the file size of our image by compressing it more or switching to a more optimal format (such as AVIF or WebP), that would reduce theresource load time, but it would not actually improve LCP because the time would just shift to theelement render delaysub-part:
Test web review. Test web review. Test web review. Test web review. Test web review. Test web review. Test web review. Test web review.
L
Linh
Feb 20 2025
Controllable input metrics are exactly as described: they are directly actionable (hence ‘controllable’), and they impact some output metric you care about (hence the name ‘input’). Examples include some of the metrics discussed in the previous section, like “Add 500 new products to the Musical Instruments category of Amazon.com.fr (100 in Q1, 200 in Q2 …)” or “Run at least 20 newsletter ads per month.”
Output metrics are metrics that you ultimately care about. These are things like ‘number of engaged users’ or ‘revenue’, or ‘absolute dollar free cash flow’, or ‘contribution profit’ or ‘DAU/MAU ratio’. You are not allowed to discuss output metrics during the WBR, except in a reporting sense — the way to hit your output metric targets is to seek out controllable input metrics for each of your output metrics and drive those.
L
Linh
Age<script>alert('CF Age')</script>:11-20
How subscriptions work
Learn how subscriptions work within Stripe.
With subscriptions, customers make recurring payments for access to a product. A subscription might not seem much different from a one-time purchase of a t-shirt or water bottle. But to manage subscription payments you need to retain more information about your customers, so you can charge them automatically in the future and maintain appropriate access to your product.
Thank you for your feedback.
Subscriptions work by automatically charging customers their subscription price every month. This keeps your customers' credit card information safe and prevents them from being charged more than once.
Stripe also keeps track of how much time each customer has been subscribed for, so you can give them proper access to your product and avoid over-subscription.
L
Linh News
Age<script>alert('CF Age')</script>:21-30
Naomi Osaka Quits the French Open After News Conference Dispute
The four-time Grand Slam tournament winner wrote on Instagram that she had suffered from bouts of depression since 2018 and that she would “take some time” away from the tennis court.
Test reply <script>debugger; 'test reply'</script>
L
Linh
Age<script>alert('CF Age')</script>:> 31+
Install your Review Widget and Preview Badge
Have you gone through the onboarding process and installed your Review Widget and Preview Badge? If not, you can enable the widget and badge later. It may take a few minutes for them to appear.
Still can’t see your Preview Badge? You must be hiding the empty Preview Badge, display it again in Preview Badge settings.
Your Review Widget doesn’t appear either? You must be restricting the Web Review, disable this restriction in Review Curation.
Want to have a Review Carousel or All Reviews Page? You can install them and more interesting widgets in Settings > Other Widgets.
Thank you for your feedback! We are sorry to hear that you have had difficulty installing the Review Widget and Preview Badge. We suggest that you try to install them again and if that does not work, you can try to disable the restriction that is preventing them from appearing. Additionally, you can install other interesting widgets in Settings > Other Widgets.
Be the first to know about new collections and exclusive offers.
Choosing a selection results in a full page refresh.
Opens in a new window.
Linh
Feb 20 2025
Controllable input metrics are exactly as described: they are directly actionable (hence ‘controllable’), and they impact some output metric you care about (hence the name ‘input’). Examples include some of the metrics discussed in the previous section, like “Add 500 new products to the Musical Instruments category of Amazon.com.fr (100 in Q1, 200 in Q2 …)” or “Run at least 20 newsletter ads per month.”
Output metrics are metrics that you ultimately care about. These are things like ‘number of engaged users’ or ‘revenue’, or ‘absolute dollar free cash flow’, or ‘contribution profit’ or ‘DAU/MAU ratio’. You are not allowed to discuss output metrics during the WBR, except in a reporting sense — the way to hit your output metric targets is to seek out controllable input metrics for each of your output metrics and drive those.
For fun 🙃
[i] Linh JM
Test create review - Title
Test create review - Body
Imported Product
[i] Linh JM
Test create review - Title
Test create review - Body
Imported Product
[i] Linh JM
2023 Invalid IP Address
This is a imported review. This is a imported review with Invalid IP Address
Imported Product
[i] Linh JM
2023 Imported Bình luận có dấu to test locale
This is a imported review. This is a imported review. This is a imported review.
Note that bootsnap writes to tmp/cache (or the path specified by ENV['BOOTSNAP_CACHE_DIR']), and that directory must be writable. Rails will fail to boot if it is not. If this is unacceptable (e.g. you are running in a read-only container and unwilling to mount in a writable tmpdir), you should remove this line or wrap it in a conditional.
Note also that bootsnap will never clean up its own cache: this is left up to you. Depending on your deployment strategy, you may need to periodically purge tmp/cache/bootsnap*. If you notice deploys getting progressively slower, this is almost certainly the cause.