{"id":71,"date":"2026-06-27T14:00:00","date_gmt":"2026-06-27T06:00:00","guid":{"rendered":"https:\/\/hbkaixuan.cn\/news\/core-web-vitals-optimization-guide\/"},"modified":"2026-07-02T14:41:27","modified_gmt":"2026-07-02T06:41:27","slug":"core-web-vitals-optimization-guide","status":"publish","type":"post","link":"https:\/\/hbkaixuan.cn\/news\/core-web-vitals-optimization-guide\/","title":{"rendered":"Core Web Vitals \u8be6\u89e3\u4e0e\u4f18\u5316\uff1aLCP\u3001CLS\u3001INP \u8fbe\u6807\u5b9e\u64cd\u6307\u5357"},"content":{"rendered":"<p><strong>\u6838\u5fc3\u6458\u8981\uff1a<\/strong>2020 \u5e74\u8c37\u6b4c\u5ba3\u5e03 Core Web Vitals \u6210\u4e3a\u6392\u540d\u4fe1\u53f7,2024 \u5e74 3 \u6708 INP \u53d6\u4ee3 FID \u6210\u4e3a\u7b2c\u4e09\u5927\u6307\u6807\u3002\u672c\u6587\u7cfb\u7edf\u8bb2\u89e3 LCP\u3001CLS\u3001INP \u7684\u5b9a\u4e49\u3001\u4f18\u5316\u65b9\u6cd5\u548c\u5b9e\u6d4b\u5de5\u5177\u3002<\/strong><\/p>\n<h2>\u4e00\u3001Core Web Vitals \u662f\u4ec0\u4e48<\/h2>\n<p>Core Web Vitals (\u6838\u5fc3\u7f51\u9875\u6307\u6807) \u662f\u8c37\u6b4c\u7528\u6765\u8861\u91cf\u7528\u6237\u5728\u7f51\u9875\u4e0a\u4f53\u9a8c\u8d28\u91cf\u7684 3 \u4e2a\u6838\u5fc3\u6307\u6807:<\/p>\n<ul>\n<li><strong>LCP<\/strong> (Largest Contentful Paint) &#8211; \u6700\u5927\u5185\u5bb9\u7ed8\u5236\u65f6\u95f4<\/li>\n<li><strong>CLS<\/strong> (Cumulative Layout Shift) &#8211; \u7d2f\u79ef\u5e03\u5c40\u504f\u79fb<\/li>\n<li><strong>INP<\/strong> (Interaction to Next Paint) &#8211; \u4ea4\u4e92\u5230\u4e0b\u6b21\u7ed8\u5236<\/li>\n<\/ul>\n<p>\u4e09\u9879\u90fd\u5408\u683c = Core Web Vitals \u901a\u8fc7,\u5bf9 SEO \u6709\u660e\u663e\u52a0\u5206\u3002\u4efb\u4e00\u4e0d\u5408\u683c = \u53ef\u80fd\u5f71\u54cd\u6392\u540d\u3002<\/p>\n<h2>\u4e8c\u3001LCP \u8be6\u89e3\u4e0e\u4f18\u5316<\/h2>\n<h3>2.1 \u5b9a\u4e49<\/h3>\n<p>\u9875\u9762\u52a0\u8f7d\u65f6,\u8f83\u5927\u7684\u4e00\u5757\u5185\u5bb9(\u901a\u5e38\u662f\u9996\u5c4f hero \u56fe\u6216\u4e3b\u6807\u9898)\u5b8c\u5168\u6e32\u67d3\u51fa\u6765\u7684\u65f6\u95f4\u3002<\/p>\n<h3>2.2 \u8fbe\u6807\u6807\u51c6<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u8bc4\u7ea7<\/th>\n<th>LCP<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Good \u2705<\/td>\n<td>&lt; 2.5 \u79d2<\/td>\n<\/tr>\n<tr>\n<td>Needs Improvement \u26a0\ufe0f<\/td>\n<td>2.5-4 \u79d2<\/td>\n<\/tr>\n<tr>\n<td>Poor \u274c<\/td>\n<td>&gt; 4 \u79d2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>2.3 4 \u5927\u4f18\u5316\u65b9\u6cd5<\/h3>\n<h4>\u65b9\u6cd5 1:\u4f18\u5316\u9996\u5c4f\u56fe\u7247<\/h4>\n<ul>\n<li>Hero \u56fe\u5fc5\u987b\u5c0f\u4e8e 200KB<\/li>\n<li>\u7528 WebP \u683c\u5f0f(\u6bd4 JPG \u5c0f 30%)<\/li>\n<li>\u6dfb\u52a0 &lt;link rel=&#8221;preload&#8221; as=&#8221;image&#8221;&gt; \u9884\u52a0\u8f7d<\/li>\n<li>\u4e0d\u8981\u7528 &lt;img loading=&#8221;lazy&#8221;&gt; (\u9996\u5c4f\u56fe\u4e0d\u8be5\u5ef6\u8fdf)<\/li>\n<\/ul>\n<h4>\u65b9\u6cd5 2:\u4f18\u5316\u5b57\u4f53\u52a0\u8f7d<\/h4>\n<ul>\n<li>\u4f7f\u7528 &lt;link rel=&#8221;preconnect&#8221;&gt; \u9884\u8fde\u63a5 Google Fonts<\/li>\n<li>\u52a0 font-display: swap \u907f\u514d\u5b57\u4f53\u963b\u585e\u6e32\u67d3<\/li>\n<li>\u53ea\u52a0\u8f7d\u9700\u8981\u7684\u5b57\u91cd<\/li>\n<\/ul>\n<h4>\u65b9\u6cd5 3:\u7cbe\u7b80\u9996\u5c4f CSS<\/h4>\n<ul>\n<li>Critical CSS \u5185\u8054\u5230 &lt;head&gt;<\/li>\n<li>\u975e\u9996\u5c4f CSS \u5f02\u6b65\u52a0\u8f7d<\/li>\n<\/ul>\n<h4>\u65b9\u6cd5 4:\u670d\u52a1\u5668\u4f18\u5316<\/h4>\n<ul>\n<li>\u542f\u7528 HTTP\/2 \u6216 HTTP\/3<\/li>\n<li>\u7528 CDN(Cloudflare\u3001\u963f\u91cc\u4e91)<\/li>\n<li>\u6570\u636e\u5e93\u67e5\u8be2\u4f18\u5316<\/li>\n<\/ul>\n<h2>\u4e09\u3001CLS \u8be6\u89e3\u4e0e\u4f18\u5316<\/h2>\n<h3>3.1 \u5b9a\u4e49<\/h3>\n<p>\u9875\u9762\u52a0\u8f7d\u8fc7\u7a0b\u4e2d,\u5185\u5bb9&#8221;\u8df3\u52a8&#8221;\u7684\u7d2f\u8ba1\u7a0b\u5ea6\u3002\u7528\u6237\u70b9\u67d0\u4e2a\u6309\u94ae,\u7ed3\u679c\u5b83\u7a81\u7136\u8df3\u5230\u522b\u7684\u5730\u65b9,\u8fd9\u662f\u6700\u5178\u578b\u7684 CLS \u95ee\u9898\u3002<\/p>\n<h3>3.2 \u8fbe\u6807\u6807\u51c6<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u8bc4\u7ea7<\/th>\n<th>CLS<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Good \u2705<\/td>\n<td>&lt; 0.1<\/td>\n<\/tr>\n<tr>\n<td>Needs Improvement \u26a0\ufe0f<\/td>\n<td>0.1-0.25<\/td>\n<\/tr>\n<tr>\n<td>Poor \u274c<\/td>\n<td>&gt; 0.25<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>3.3 5 \u5927\u4f18\u5316\u65b9\u6cd5<\/h3>\n<h4>\u65b9\u6cd5 1:\u56fe\u7247\u5fc5\u987b\u6307\u5b9a\u5c3a\u5bf8<\/h4>\n<pre>&lt;img src=\"hero.jpg\" width=\"1200\" height=\"675\"&gt;<\/pre>\n<p>\u6d4f\u89c8\u5668\u63d0\u524d\u77e5\u9053\u56fe\u7247\u5c3a\u5bf8,\u4e0d\u4f1a\u52a0\u8f7d\u65f6\u8df3\u52a8\u3002<\/p>\n<h4>\u65b9\u6cd5 2:\u5e7f\u544a\u4f4d\u9884\u7559\u7a7a\u95f4<\/h4>\n<p>\u7528 min-height \u9884\u7559\u5e7f\u544a\u4f4d\u7f6e,\u907f\u514d\u5e7f\u544a\u52a0\u8f7d\u540e\u6324\u538b\u5185\u5bb9\u3002<\/p>\n<h4>\u65b9\u6cd5 3:\u5b57\u4f53\u52a0\u8f7d\u4f18\u5316<\/h4>\n<p>\u7528 size-adjust \u5c5e\u6027\u8ba9\u52a0\u8f7d\u4e2d\u7684\u5b57\u4f53\u548c\u5b9e\u9645\u5b57\u4f53\u5c3a\u5bf8\u63a5\u8fd1\u3002<\/p>\n<h4>\u65b9\u6cd5 4:\u907f\u514d\u9876\u90e8\u52a8\u6001\u63d2\u5165<\/h4>\n<p>\u4e0d\u8981\u5728\u5df2\u6709\u5185\u5bb9\u4e0a\u65b9 JS \u52a8\u6001\u63d2\u5165\u5143\u7d20(banner\u3001\u901a\u77e5\u6761\u7b49)\u3002<\/p>\n<h4>\u65b9\u6cd5 5:\u52a8\u753b\u7528 transform<\/h4>\n<p>\u7528 transform: translateY() \u4ee3\u66ff\u4fee\u6539 top\/margin,\u4e0d\u4f1a\u5f15\u53d1\u5e03\u5c40\u91cd\u6392\u3002<\/p>\n<h2>\u56db\u3001INP \u8be6\u89e3\u4e0e\u4f18\u5316<\/h2>\n<h3>4.1 \u5b9a\u4e49<\/h3>\n<p>\u7528\u6237\u4e0e\u9875\u9762\u4ea4\u4e92(\u70b9\u51fb\/\u8f93\u5165\/\u6eda\u52a8)\u540e,\u9875\u9762\u4e0b\u6b21\u89c6\u89c9\u54cd\u5e94\u7684\u65f6\u95f4\u3002<\/p>\n<h3>4.2 \u8fbe\u6807\u6807\u51c6<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u8bc4\u7ea7<\/th>\n<th>INP<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Good \u2705<\/td>\n<td>&lt; 200 ms<\/td>\n<\/tr>\n<tr>\n<td>Needs Improvement \u26a0\ufe0f<\/td>\n<td>200-500 ms<\/td>\n<\/tr>\n<tr>\n<td>Poor \u274c<\/td>\n<td>&gt; 500 ms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>4.3 4 \u5927\u4f18\u5316\u65b9\u6cd5<\/h3>\n<h4>\u65b9\u6cd5 1:\u62c6\u5206\u957f\u4efb\u52a1<\/h4>\n<p>\u5355\u4e2a JS \u4efb\u52a1\u4e0d\u8d85\u8fc7 50 ms,\u957f\u4efb\u52a1\u7528 setTimeout \u6216 requestIdleCallback \u62c6\u5206\u3002<\/p>\n<h4>\u65b9\u6cd5 2:\u5ef6\u8fdf\u7b2c\u4e09\u65b9\u811a\u672c<\/h4>\n<p>Google Analytics\u3001Facebook Pixel \u7b49\u7b2c\u4e09\u65b9\u811a\u672c\u7528 async \u6216 defer \u52a0\u8f7d\u3002<\/p>\n<h4>\u65b9\u6cd5 3:\u865a\u62df\u6eda\u52a8<\/h4>\n<p>\u957f\u5217\u8868(\u5982 1000+ \u6761\u6570\u636e)\u53ea\u6e32\u67d3\u53ef\u89c1\u90e8\u5206,\u51cf\u5c11 DOM \u64cd\u4f5c\u3002<\/p>\n<h4>\u65b9\u6cd5 4:\u53bb\u9664\u963b\u585e\u811a\u672c<\/h4>\n<p>\u4e0d\u9700\u8981\u7acb\u523b\u6267\u884c\u7684\u811a\u672c\u5ef6\u8fdf\u5230 window load \u540e\u3002<\/p>\n<h2>\u4e94\u3001\u6d4b\u91cf\u5de5\u5177<\/h2>\n<h3>5.1 \u514d\u8d39\u5de5\u5177<\/h3>\n<ul>\n<li><strong>Google PageSpeed Insights<\/strong>:\u5b9e\u65f6\u6d4b,\u7ed9\u5177\u4f53\u5efa\u8bae<\/li>\n<li><strong>Google Search Console \u2192 \u6838\u5fc3\u7f51\u9875\u6307\u6807<\/strong>:\u770b\u6574\u7ad9\u771f\u5b9e\u7528\u6237\u6570\u636e<\/li>\n<li><strong>Chrome DevTools \u2192 Lighthouse<\/strong>:\u5f00\u53d1\u8005\u8be6\u7ec6\u5206\u6790<\/li>\n<li><strong>Web Vitals \u6269\u5c55<\/strong>:Chrome \u63d2\u4ef6,\u5b9e\u65f6\u770b\u6bcf\u4e2a\u9875\u9762\u6570\u636e<\/li>\n<\/ul>\n<h3>5.2 \u4ed8\u8d39\u5de5\u5177<\/h3>\n<ul>\n<li>WebPageTest.org(\u514d\u8d39\u4f46\u6df1\u5ea6)<\/li>\n<li>SpeedCurve<\/li>\n<li>New Relic<\/li>\n<\/ul>\n<h2>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h2>\n<h3>Q:LCP \u4e00\u76f4\u4e0d\u8fbe\u6807\u600e\u4e48\u529e?<\/h3>\n<p>\u5148\u5728 GSC \u770b\u54ea\u4e9b\u9875\u9762 LCP \u5dee,\u9488\u5bf9\u6027\u4f18\u5316\u8fd9\u4e9b\u9875\u9762\u7684 hero \u56fe\u548c\u5b57\u4f53\u3002<\/p>\n<h3>Q:CLS \u5ffd\u597d\u5ffd\u574f\u600e\u4e48\u529e?<\/h3>\n<p>\u53ef\u80fd\u662f\u5e7f\u544a \/ A\/B \u6d4b\u8bd5\u811a\u672c\u5f15\u8d77\u7684,\u7528\u771f\u5b9e\u7528\u6237\u76d1\u63a7(RUM)\u627e\u51fa\u771f\u51f6\u3002<\/p>\n<h3>Q:INP \u63d0\u793a&#8221;Long Task&#8221;\u600e\u4e48\u529e?<\/h3>\n<p>\u7528 DevTools Performance \u9762\u677f\u5f55\u5236,\u627e\u51fa\u8017\u65f6\u7684 JS \u51fd\u6570,\u62c6\u5206\u6216\u5f02\u6b65\u5316\u3002<\/p>\n<h2>\u4e03\u3001\u4f01\u4e1a\u5b9e\u65bd\u5efa\u8bae<\/h2>\n<ol>\n<li>\u7b2c 1 \u5929:PageSpeed Insights \u5168\u7ad9\u626b\u63cf,\u8bb0\u5f55\u57fa\u7ebf<\/li>\n<li>\u7b2c 1 \u5468:\u4f18\u5316\u56fe\u7247\u3001\u5b57\u4f53\u3001CSS<\/li>\n<li>\u7b2c 2 \u5468:\u7cbe\u7b80 JS,\u5ef6\u8fdf\u7b2c\u4e09\u65b9\u811a\u672c<\/li>\n<li>\u7b2c 3-4 \u5468:GSC \u6570\u636e\u5468\u5bf9\u6bd4,\u6301\u7eed\u8c03\u6574<\/li>\n<li>\u76ee\u6807:1 \u4e2a\u6708\u5185 3 \u9879\u6307\u6807\u5168\u90e8\u8f6c Good<\/li>\n<\/ol>\n<p><strong>\u77f3\u5bb6\u5e84\u6977\u8f69\u7f51\u7edc<\/strong>\u63d0\u4f9b Core Web Vitals \u4e13\u9879\u4f18\u5316\u670d\u52a1,\u901a\u5e38 30 \u5929\u5185 3 \u9879\u8fbe\u6807\u3002\u54a8\u8be2\u7535\u8bdd <strong>15632118538<\/strong>\u3002<\/p>\n<p><!-- kx-related-v2 --><\/p>\n<div class=\"kx-related-reading\" style=\"margin:36px 0 20px;padding:22px 26px;background:linear-gradient(135deg,#F0F7FF 0%,#F8FAFC 100%);border-left:4px solid #0A2540;border-radius:8px;\">\n<h3 style=\"margin:0 0 14px;font-size:17px;color:#0A2540;\">\ud83d\udcda \u5ef6\u4f38\u9605\u8bfb \u00b7 \u76f8\u5173\u4e3b\u9898\u6df1\u5ea6\u6587\u7ae0<\/h3>\n<div style=\"display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;\">\n<ul style=\"margin:0;padding-left:20px;line-height:1.9;list-style:disc;\">\n<li><a href=\"https:\/\/hbkaixuan.cn\/news\/google-seo-website-building-solution-comparison\/\">\u8c37\u6b4c SEO \u5efa\u7ad9\u65b9\u6848\u5bf9\u6bd4\uff1aWordPress \/ Shopify \/ \u72ec\u7acb\u5f00\u53d1 \/ SaaS \u5168\u89e3<\/a><\/li>\n<li><a href=\"https:\/\/hbkaixuan.cn\/news\/google-seo-vs-social-media-vs-alibaba-comparison\/\">\u8c37\u6b4c SEO vs \u6d77\u5916\u793e\u5a92 vs \u963f\u91cc\u56fd\u9645\u7ad9\uff1a\u5916\u8d38\u83b7\u5ba2\u4e09\u5927\u6e20\u9053\u6df1\u5ea6\u5bf9\u6bd4<\/a><\/li>\n<li><a href=\"https:\/\/hbkaixuan.cn\/news\/factory-domestic-to-export-google-seo-value\/\">\u5de5\u5382\u5185\u8f6c\u5916\u4e3a\u4ec0\u4e48\u8981\u505a\u8c37\u6b4c SEO\uff1a3 \u5927\u6218\u7565\u4ef7\u503c\u4e0e ROI \u62c6\u89e3<\/a><\/li>\n<li><a href=\"https:\/\/hbkaixuan.cn\/news\/google-keyword-mining-development-methodology\/\">\u5173\u952e\u8bcd\u6316\u6398\u4e0e\u5f00\u53d1\u5b9e\u6218\uff1a\u4ece\u79cd\u5b50\u8bcd\u5230\u5173\u952e\u8bcd\u77e9\u9635\u7684\u5b8c\u6574\u65b9\u6cd5\u8bba<\/a><\/li>\n<\/ul>\n<ul style=\"margin:0;padding-left:20px;line-height:1.9;list-style:disc;\">\n<li><a href=\"https:\/\/hbkaixuan.cn\/news\/geo-30-day-execution-checklist\/\">GEO \u4f18\u5316\u600e\u4e48\u505a\uff1f2026 \u6700\u65b0 30 \u5929\u6267\u884c\u6e05\u5355\uff08\u53ef\u590d\u5236\u7167\u505a\uff09<\/a><\/li>\n<li><a href=\"https:\/\/hbkaixuan.cn\/news\/chemical-industry-geo-optimization-case\/\">\u5316\u5de5\u4f01\u4e1a GEO \u4f18\u5316\u5b9e\u6218\uff1aSDIC\u3001TCCA \u51fa\u53e3 AI \u8be2\u76d8\u589e\u957f 3 \u500d\u590d\u76d8<\/a><\/li>\n<li><a href=\"https:\/\/hbkaixuan.cn\/news\/machinery-manufacturing-geo-guide\/\">\u673a\u68b0\u5236\u9020\u4e1a GEO \u4f18\u5316\uff1a\u8ba9 AI \u4e3b\u52a8\u63a8\u8350\u4f60\u7684\u8bbe\u5907\uff08\u886c\u677f\u3001\u53d1\u7535\u673a\u6848\u4f8b\uff09<\/a><\/li>\n<li><a href=\"https:\/\/hbkaixuan.cn\/news\/foreign-trade-b2b-geo-chatgpt-guide\/\">\u5916\u8d38 B2B \u72ec\u7acb\u7ad9 GEO \u4f18\u5316\uff1a\u8ba9 ChatGPT \u4e3b\u52a8\u5f15\u7528\u4f60\u7684\u5b8c\u6574\u65b9\u6848<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>\n<p><!-- \/kx-related-v2 --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Core Web Vitals \u662f\u8c37\u6b4c SEO \u786c\u6307\u6807\u3002\u672c\u6587\u8be6\u89e3 LCP\u3001CLS\u3001INP \u4e09\u9879\u6307\u6807\u7684\u5b9a\u4e49\u3001\u6d4b\u91cf\u65b9\u6cd5\u3001\u8fbe\u6807\u6807\u51c6,\u4ee5\u53ca\u9488\u5bf9\u6027\u4f18\u5316\u7684 12 \u4e2a\u5b9e\u6218\u6280\u5de7\u3002<\/p>\n","protected":false},"author":1,"featured_media":38,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[84,82,85,83,11,73,86],"class_list":["post-71","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-seo","tag-cls","tag-core-web-vitals","tag-inp","tag-lcp","tag-11","tag-seo","tag-86"],"_links":{"self":[{"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":1,"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/posts\/71\/revisions\/82"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/media\/38"}],"wp:attachment":[{"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hbkaixuan.cn\/news\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}