{"id":47,"date":"2026-02-05T10:00:00","date_gmt":"2026-02-05T02:00:00","guid":{"rendered":"http:\/\/localhost:8888\/?p=47"},"modified":"2026-07-09T16:17:45","modified_gmt":"2026-07-09T08:17:45","slug":"web%e6%80%a7%e8%83%bd%e6%b5%8b%e8%af%95%e8%b0%83%e4%bc%98%e5%ae%9e%e6%88%98","status":"publish","type":"post","link":"https:\/\/blog.runnergo.cn\/?p=47","title":{"rendered":"Web\u6027\u80fd\u6d4b\u8bd5\u8c03\u4f18\u5b9e\u6218 &#8211; \u4ece\u74f6\u9888\u5b9a\u4f4d\u5230\u4f18\u5316\u65b9\u6848"},"content":{"rendered":"<h1>Web\u6027\u80fd\u6d4b\u8bd5\u8c03\u4f18\u5b9e\u6218 &#8211; \u4ece\u74f6\u9888\u5b9a\u4f4d\u5230\u4f18\u5316\u65b9\u6848<\/h1>\n<p>&gt; \u4f5c\u8005\uff1a\u6027\u80fd\u8c03\u4f18\u5e08<br \/>\n&#8212;<\/p>\n<h2>\u524d\u8a00<\/h2>\n<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u6027\u80fd\u8c03\u4f18\u5e08\u3002\u505a\u6027\u80fd\u6d4b\u8bd5\u548c\u8c03\u4f188\u5e74\uff0c\u53d1\u73b0\u6027\u80fd\u95ee\u9898\u4e0d\u96be\uff0c\u5b9a\u4f4d\u74f6\u9888\u548c\u4f18\u5316\u624d\u662f\u6311\u6218\u3002\u4eca\u5929\u5206\u4eabWeb\u6027\u80fd\u6d4b\u8bd5\u8c03\u4f18\u7684\u5b9e\u6218\u7ecf\u9a8c\u3002<\/p>\n<p>&#8212;<\/p>\n<h2>\u4e00\u3001\u6027\u80fd\u74f6\u9888\u5206\u7c7b<\/h2>\n<h3>\u524d\u7aef\u74f6\u9888<\/h3>\n<p>| \u7c7b\u578b | \u8868\u73b0 | \u539f\u56e0 |<br \/>\n|&#8212;&#8212;|&#8212;&#8212;|&#8212;&#8212;|<br \/>\n| \u8d44\u6e90\u52a0\u8f7d\u6162 | \u9875\u9762\u52a0\u8f7d\u65f6\u95f4\u957f | \u5927\u6587\u4ef6\u3001\u65e0\u7f13\u5b58 |<br \/>\n| JS\u6267\u884c\u6162 | \u4ea4\u4e92\u54cd\u5e94\u6162 | \u590d\u6742\u8ba1\u7b97\u3001\u963b\u585e |<br \/>\n| \u6e32\u67d3\u6162 | \u5361\u987f\u3001\u95ea\u70c1 | DOM\u64cd\u4f5c\u8fc7\u591a |<\/p>\n<h3>\u540e\u7aef\u74f6\u9888<\/h3>\n<p>| \u7c7b\u578b | \u8868\u73b0 | \u539f\u56e0 |<br \/>\n|&#8212;&#8212;|&#8212;&#8212;|&#8212;&#8212;|<br \/>\n| \u63a5\u53e3\u54cd\u5e94\u6162 | API\u54cd\u5e94\u65f6\u95f4\u957f | \u8ba1\u7b97\u5bc6\u96c6\u3001\u9501\u7b49\u5f85 |<br \/>\n| \u6570\u636e\u5e93\u6162 | \u67e5\u8be2\u65f6\u95f4\u957f | SQL\u672a\u4f18\u5316\u3001\u7f3a\u5c11\u7d22\u5f15 |<br \/>\n| \u5185\u5b58\u4e0d\u8db3 | \u670d\u52a1\u5d29\u6e83 | \u5185\u5b58\u6cc4\u6f0f\u3001\u5bf9\u8c61\u672a\u91ca\u653e |<\/p>\n<p>&#8212;<\/p>\n<h2>\u4e8c\u3001\u74f6\u9888\u5b9a\u4f4d\u65b9\u6cd5<\/h2>\n<h3>\u524d\u7aef\u6027\u80fd\u5206\u6790<\/h3>\n<p>\u4f7f\u7528Chrome DevTools\uff1a<\/p>\n<ul>\n<li>Performance\u9762\u677f\uff1a\u5206\u6790JS\u6267\u884c\u3001\u6e32\u67d3<\/li>\n<li>Network\u9762\u677f\uff1a\u5206\u6790\u8d44\u6e90\u52a0\u8f7d<\/li>\n<li>Lighthouse\uff1a\u7efc\u5408\u6027\u80fd\u8bc4\u5206<\/li>\n<\/ul>\n<h3>\u540e\u7aef\u6027\u80fd\u5206\u6790<\/h3>\n<p>\u4f7f\u7528RunnerGo\u6027\u80fd\u6d4b\u8bd5\uff1a<\/p>\n<ul>\n<li>\u5b9a\u4f4d\u6162\u63a5\u53e3<\/li>\n<li>\u5206\u6790\u54cd\u5e94\u65f6\u95f4\u5206\u5e03<\/li>\n<li>\u67e5\u770b\u9519\u8bef\u7387<\/li>\n<\/ul>\n<p>&#8212;<\/p>\n<h2>\u4e09\u3001\u4f18\u5316\u65b9\u6848<\/h2>\n<h3>\u524d\u7aef\u4f18\u5316<\/h3>\n<p>| \u65b9\u6cd5 | \u8bf4\u660e |<br \/>\n|&#8212;&#8212;|&#8212;&#8212;|<br \/>\n| \u8d44\u6e90\u538b\u7f29 | \u538b\u7f29JS\/CSS\/\u56fe\u7247 |<br \/>\n| CDN\u52a0\u901f | \u9759\u6001\u8d44\u6e90CDN\u5206\u53d1 |<br \/>\n| \u61d2\u52a0\u8f7d | \u56fe\u7247\/\u7ec4\u4ef6\u5ef6\u8fdf\u52a0\u8f7d |<br \/>\n| \u7f13\u5b58\u7b56\u7565 | \u5229\u7528\u6d4f\u89c8\u5668\u7f13\u5b58 |<\/p>\n<h3>\u540e\u7aef\u4f18\u5316<\/h3>\n<p>| \u65b9\u6cd5 | \u8bf4\u660e |<br \/>\n|&#8212;&#8212;|&#8212;&#8212;|<br \/>\n| SQL\u4f18\u5316 | \u6dfb\u52a0\u7d22\u5f15\u3001\u4f18\u5316\u67e5\u8be2 |<br \/>\n| \u7f13\u5b58 | Redis\u7f13\u5b58\u70ed\u70b9\u6570\u636e |<br \/>\n| \u5f02\u6b65\u5904\u7406 | \u975e\u5173\u952e\u64cd\u4f5c\u5f02\u6b65\u6267\u884c |<br \/>\n| \u8fde\u63a5\u6c60 | \u6570\u636e\u5e93\u8fde\u63a5\u6c60\u4f18\u5316 |<\/p>\n<p>&#8212;<\/p>\n<h2>\u56db\u3001RunnerGo\u6027\u80fd\u6d4b\u8bd5\u5b9e\u8df5<\/h2>\n<h3>\u521b\u5efa\u538b\u6d4b\u4efb\u52a1<\/h3>\n<p><code>`<\/code>yaml<br \/>\n\u6d4b\u8bd5\u914d\u7f6e:<br \/>\n  \u63a5\u53e3: GET \/api\/products<br \/>\n  \u5e76\u53d1: 100<br \/>\n  \u65f6\u957f: 5\u5206\u949f<br \/>\n<code>`<\/code><\/p>\n<h3>\u5206\u6790\u62a5\u544a<\/h3>\n<p>RunnerGo\u81ea\u52a8\u5206\u6790\uff1a<\/p>\n<ul>\n<li>\u54cd\u5e94\u65f6\u95f4\u5206\u5e03<\/li>\n<li>TPS\u66f2\u7ebf<\/li>\n<li>\u9519\u8bef\u7c7b\u578b\u7edf\u8ba1<\/li>\n<\/ul>\n<p>&#8212;<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u6027\u80fd\u8c03\u4f18\u8981\u70b9\uff1a<\/p>\n<p>| \u73af\u8282 | \u65b9\u6cd5 |<br \/>\n|&#8212;&#8212;|&#8212;&#8212;|<br \/>\n| \u74f6\u9888\u5b9a\u4f4d | DevTools + RunnerGo |<br \/>\n| \u524d\u7aef\u4f18\u5316 | \u538b\u7f29\u3001CDN\u3001\u7f13\u5b58 |<br \/>\n| \u540e\u7aef\u4f18\u5316 | SQL\u4f18\u5316\u3001\u7f13\u5b58\u3001\u5f02\u6b65 |<\/p>\n<p>&#8212;<\/p>\n<p><strong>\u4e0b\u671f\u9884\u544a\uff1aDocker\u5bb9\u5668\u5316\u6d4b\u8bd5\u73af\u5883\u642d\u5efa &#8211; \u672c\u5730\u6d4b\u8bd5\u73af\u5883\u4e00\u952e\u90e8\u7f72<\/strong><\/p>\n<p>&gt; \u4f5c\u8005\uff1a\u6027\u80fd\u8c03\u4f18\u5e08\uff0c8\u5e74\u6027\u80fd\u6d4b\u8bd5\u548c\u8c03\u4f18\u7ecf\u9a8c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Web\u6027\u80fd\u6d4b\u8bd5\u8c03\u4f18\u5b9e\u6218 &#8211; \u4ece\u74f6\u9888\u5b9a\u4f4d\u5230\u4f18\u5316\u65b9\u6848 &gt; \u4f5c\u8005\uff1a\u6027\u80fd\u8c03\u4f18\u5e08 &#8212; \u524d\u8a00 \u5927\u5bb6\u597d\uff0c\u6211\u662f\u6027\u80fd\u8c03\u4f18\u5e08\u3002\u505a\u6027\u80fd\u6d4b\u8bd5\u548c\u8c03\u4f188\u5e74\uff0c\u53d1\u73b0\u6027\u80fd\u95ee\u9898\u4e0d\u96be\uff0c\u5b9a\u4f4d\u74f6\u9888\u548c\u4f18\u5316\u624d\u662f\u6311\u6218\u3002&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=47"}],"version-history":[{"count":0,"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.runnergo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}