{"id":1844,"date":"2021-08-05T11:40:46","date_gmt":"2021-08-05T11:40:46","guid":{"rendered":"https:\/\/www.wpstaq.com\/?post_type=pagespeedinsights&amp;p=1844"},"modified":"2021-08-05T11:40:46","modified_gmt":"2021-08-05T11:40:46","slug":"largest-contentful-paint-element","status":"publish","type":"pagespeedinsights","link":"https:\/\/www.wpstaq.com\/sg\/pagespeedinsights\/largest-contentful-paint-element\/","title":{"rendered":"Largest Contentful Paint element"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"overview\">Overview<\/h2>\n\n\n\n<p>Largest Contentful Paint (LCP) is a performance metric that measures the perceived loading experience for users.<\/p>\n\n\n\n<p>Simply, LCP measures how long it takes for the&nbsp;<strong>largest content element<\/strong>&nbsp;(e.g., hero image, heading text, etc.) on your page to become visible.<\/p>\n\n\n\n<p>LCP is one of the Google Web Vitals metrics.&nbsp;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-improve-metric\">How to improve Largest Contentful Paint?<\/h2>\n\n\n\n<p>Improve your LCP timing by incorporating good web development practices, such as:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-reducing-server-response-time\">1) Reducing server response time<\/h3>\n\n\n\n<p>Reducing server response time helps load resources faster and deliver a fast LCP time on your page. Some of the things you can do here include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Reducing initial server response time<\/li><li>Serving static assets with an efficient cache policy<\/li><li>Using a Content Delivery Network (CDN) &#8211; Available on Staq (we call this Traditional CDN)<\/li><li>Establishing early connections to important third-party origins<\/li><li>Make your website load from the cloud via a CDN proxy &#8211; Available on Staq (we call this Next-Gen CDN)<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>Under&nbsp;<strong>Staq Hosting &gt; JavaScript &gt; Site Optimizer<\/strong>&nbsp;you will see numerous opportunities to improve Speed Index such as Minify Javascript files, M<strong>inify JavaScript files, Combine all JavaScript&nbsp;<\/strong>etc.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/02\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png\" alt=\"\" class=\"wp-image-6010\"\/><\/figure>\n\n\n\n<p><strong>Staq&#8217;s Next-Gen CDN (near-serverless) capabilities will also improve Largest Contentful Paint. <\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-eliminating-render-blocking-behaviour\">2) Eliminating render-blocking behaviour<\/h3>\n\n\n\n<p>Eliminating render-blocking behaviour&nbsp;on your page ensures resources load as fast as possible.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-optimizing-images-and-videos\">3) Optimizing images and videos<\/h3>\n\n\n\n<p>Optimize image and video delivery on your page to reduce the time taken to load images and videos. Some of the things you can do include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Properly sizing images<\/li><li>Efficiently encoding images<\/li><li>Combining images using CSS sprites<\/li><li>Serving images in next-gen formats<\/li><li>Using video formats for animated content<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"staq-automatically-does-it-for-you\">Staq Automatically does it for you!<\/h3>\n\n\n\n<p>Staq can automatically compress png and jpg images and convert them to WebP format as well!<\/p>\n\n\n\n<p>Serving images in next-gen format means serving images in WebP format. Go to&nbsp;<strong>Site Optimizer &gt; Media&nbsp;<\/strong>and click&nbsp;<strong>Serve next-gen images [WebP]&nbsp;<\/strong>and also enable&nbsp;<strong>Rewrite media URLs<\/strong>&nbsp;for the cached file to show WebP images:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/01\/Screen-Shot-2022-01-13-at-1.30.59-pm.png\" alt=\"\"\/><\/figure>\n","protected":false},"template":"","class_list":["post-1844","pagespeedinsights","type-pagespeedinsights","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Largest Contentful Paint element - How to fix really quickly with Staq<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Largest Contentful Paint element - How to fix really quickly with Staq\" \/>\n<meta property=\"og:description\" content=\"Overview Largest Contentful Paint (LCP) is a performance metric that measures the perceived loading experience for users. Simply, LCP measures how long it takes for the&nbsp;largest content element&nbsp;(e.g., hero image, heading text, etc.) on your page to become visible. LCP is one of the Google Web Vitals metrics.&nbsp; How to improve Largest Contentful Paint? Improve&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/02\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/largest-contentful-paint-element\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/largest-contentful-paint-element\\\/\",\"name\":\"Largest Contentful Paint element - How to fix really quickly with Staq\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/largest-contentful-paint-element\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/largest-contentful-paint-element\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png\",\"datePublished\":\"2021-08-05T11:40:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/largest-contentful-paint-element\\\/#breadcrumb\"},\"inLanguage\":\"en-sg\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/largest-contentful-paint-element\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/largest-contentful-paint-element\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/largest-contentful-paint-element\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PageSpeedInsights\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/pagespeedinsights\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Largest Contentful Paint element\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-sg\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Largest Contentful Paint element - How to fix really quickly with Staq","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/","og_locale":"en_US","og_type":"article","og_title":"Largest Contentful Paint element - How to fix really quickly with Staq","og_description":"Overview Largest Contentful Paint (LCP) is a performance metric that measures the perceived loading experience for users. Simply, LCP measures how long it takes for the&nbsp;largest content element&nbsp;(e.g., hero image, heading text, etc.) on your page to become visible. LCP is one of the Google Web Vitals metrics.&nbsp; How to improve Largest Contentful Paint? Improve&hellip;","og_url":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","og_image":[{"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/02\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/","url":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/","name":"Largest Contentful Paint element - How to fix really quickly with Staq","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/02\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png","datePublished":"2021-08-05T11:40:46+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/#breadcrumb"},"inLanguage":"en-sg","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/"]}]},{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/02\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/02\/Screen-Shot-2022-02-01-at-3.11.17-pm-1024x835.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/pagespeedinsights\/largest-contentful-paint-element\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"PageSpeedInsights","item":"https:\/\/www.wpstaq.com\/pagespeedinsights\/"},{"@type":"ListItem","position":3,"name":"Largest Contentful Paint element"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-sg"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/pagespeedinsights\/1844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/pagespeedinsights"}],"about":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/types\/pagespeedinsights"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/media?parent=1844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}