{"id":361053,"date":"2021-02-21T03:59:21","date_gmt":"2021-02-20T19:59:21","guid":{"rendered":"http:\/\/4563.org\/?p=361053"},"modified":"2021-02-21T03:59:21","modified_gmt":"2021-02-20T19:59:21","slug":"%e5%a5%87%e6%80%aa%e7%9a%84-cdn%e5%b1%80%e5%9f%9f%e7%bd%91%e4%b9%9f%e4%bc%9a%e6%9c%89-cdn","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=361053","title":{"rendered":"[\u5947\u602a\u7684 CDN]\u5c40\u57df\u7f51\u4e5f\u4f1a\u6709 CDN?"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  [\u5947\u602a\u7684 CDN]\u5c40\u57df\u7f51\u4e5f\u4f1a\u6709 CDN?               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lixuanyy <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4eca\u5929\u9047\u5230\u4e86\u975e\u5e38\u5947\u602a\u7684\u5c40\u57df\u7f51 CDN,\u5982\u56fe:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/03\/20210306_60430505cf8e9.jpg\" alt=\"[\u5947\u602a\u7684 CDN]\u5c40\u57df\u7f51\u4e5f\u4f1a\u6709 CDN?\" \/><\/p>\n<p>\u5148\u8bf4\u4e00\u4e0b\u54c8,\u6211\u7684\u8def\u7531\u5668<strong>lan<\/strong>\u53e3\u662f 1 \u7f51\u6bb5\u7684,\u800c\u4e14\u6211\u7684<strong>wan<\/strong>\u53e3\u662f\u8fd0\u8425\u5546\u5206\u914d\u7684 IP,\u800c\u4e14\u5c40\u57df\u7f51\u5185\u538b\u6839\u5c31\u6ca1\u6709<strong>33<\/strong>\u7f51\u6bb5\u7684\u8bbe\u5907\u5440! \u60f3\u95ee\u4e00\u4e0b\u5927\u5bb6\u8fd9\u4e2a\u662f\u5565\u9a9a\u64cd\u4f5c?<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>14<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5415149\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : phy25 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             www.ahbts.com \u76f2\u731c\u662f\u5b89\u5fbd\u5e7f\u7535                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415150\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9996\u5148\uff1a<br \/>\u5173\u4e8e\u300e\u7f51\u6bb5\u300f\uff0cIP+\u5b50\u7f51\u63a9\u7801 \u624d\u80fd\u786e\u5b9a\u4e00\u4e2a\u7f51\u6bb5\uff0c\u5e76\u4e0d\u662f\u8bf4 192.168.1.x \u548c 192.168.33.x \u4e00\u5b9a\u4e0d\u662f\u540c\u4e00\u4e2a\u7f51\u6bb5\u3002<br \/>\u5f53\u7136\uff0c\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\uff0c192.168.x.x \u4e60\u60ef\u5212\u5206\u4e3a C \u7c7b\u7f51\u7edc\uff0c\u6b64\u65f6 1.x \u548c 3.x \u786e\u5b9e\u4e0d\u662f\u540c\u4e00\u4e2a\u7f51\u6bb5\u3002<\/p>\n<p>\u5176\u6b21\uff1a<br \/>\u53ea\u8981\u5b58\u5728\u5408\u9002\u7684\u8def\u7531\uff0c\u4e0d\u540c\u7f51\u6bb5\u4e5f\u662f\u53ef\u4ee5\u4e92\u76f8\u8bbf\u95ee\u7684\uff0c\u53ef\u4ee5\u4f7f\u7528 tracert -d x.x.x.x \u7684\u65b9\u5f0f\u8ffd\u8e2a\u4e00\u4e0b\u8def\u7531\u8d70\u5411\uff1b<br \/>\u5373\u4f7f WAN \u53e3\u662f\u8fd0\u8425\u5546\u5206\u914d\u7684 IP\uff0c\u4e5f\u5b58\u5728\u662f\u8fd0\u8425\u5546\u5927\u5185\u7f51 IP \u7684\u53ef\u80fd\uff0c\u53ef\u80fd\u5b58\u5728\u8def\u7531\u914d\u7f6e\u95ee\u9898\u9020\u6210\u5185\u7f51\u4e92\u901a\u3002<\/p>\n<p>\u518d\u5176\u6b21\uff1a<br \/>HTTP \u7684 Server \u5b57\u6bb5\u5c31\u662f\u4e2a\u666e\u666e\u901a\u901a\u53ef\u4ee5\u88ab\u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7684\u5b57\u6bb5\uff0c\u4e0d\u7ba1\u662f\u4ec0\u4e48\u670d\u52a1\u5668\uff0c\u90fd\u53ef\u4ee5\u58f0\u79f0\u81ea\u5df1\u662f Cdn Cache Server V2.0\uff0c\u4e0d\u7ba1\u5b83\u5230\u5e95\u662f\u4e0d\u662f\u771f\u7684 CDN \u670d\u52a1\u5668\u3002<\/p>\n<p>\u6700\u540e\uff1a<br \/>CDN \u5168\u79f0 Content Delivery Network\uff0c\u53ea\u8981\u662f\u4e3a\u4e86\u52a0\u901f\u8d44\u6e90\u5206\u53d1\u7684\u670d\u52a1\u5668\uff0c\u90fd\u53ef\u4ee5\u79f0\u4e3a CDN \u670d\u52a1\u5668\uff0c\u5373\u4f7f\u629b\u5f00\u4e3b\u7684\u63d0\u95ee\u573a\u666f\u4e0d\u8c08\uff0c\u5185\u7f51\u4e2d\u7684 CDN \u4e5f\u662f\u5f88\u5e38\u89c1\u7684\u3002\uff08\u957f\u57ce\u5bbd\u5e26\uff1a\u8fd9\u6d3b\u513f\u6211\u719f\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415151\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lixuanyy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @phy25 \u4f46\u662f\u6211\u662f\u7528\u7684\u79fb\u52a8\u7684\u5bbd\u5e26\u554a,\u800c\u4e14\u8bbf\u95ee www.ahbts.com \u663e\u793a\u57df\u540d\u5728\u552e\u5356.\u8fd9\u90fd\u4e0d\u662f\u91cd\u8981\u7684,\u6211\u5c31\u662f\u60f3\u77e5\u9053\u5c40\u57df\u7f51 cdn \u662f\u600e\u4e48\u5b9e\u73b0\u7684?\u6211\u90fd\u6ca1\u6709\u8fd9\u4e2a\u7f51\u6bb5\u7684\u8bbe\u5907,\u8fd0\u8425\u5546\u66f4\u662f\u4e0d\u4f1a\u8111\u6b8b\u5230\u4f7f\u7528 192.168.xxx.xxx \u5427!                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415152\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lixuanyy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @also24 giao,\u6211\u6574\u660e\u767d\u4e86<br \/>&#8220;`<br \/>\u901a\u8fc7\u6700\u591a 30 \u4e2a\u8dc3\u70b9\u8ddf\u8e2a\u5230 192.168.33.12 \u7684\u8def\u7531<\/p>\n<p> 1 1 ms 2 ms 1 ms 192.168.1.1<br \/> 2 15 ms 9 ms 11 ms 10.159.224.1<br \/> 3 8 ms 8 ms 16 ms 172.28.128.245<br \/> 4 25 ms 11 ms 12 ms 172.31.15.77<br \/> 5 14 ms 7 ms 7 ms 172.31.8.54<br \/> 6 8 ms 7 ms 7 ms 192.168.33.12<\/p>\n<p>\u8ddf\u8e2a\u5b8c\u6210\u3002<br \/>&#8220;`                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415153\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nuk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8def\u7531\u5668\u628a\u79c1\u7f51\u5730\u5740\u8def\u7531\u51fa\u53bb\u4e86\uff0c\u8bb0\u5f97\u6253\u5f00\u9632\u706b\u5899\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415154\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Conty <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c31\u662f\u8fd0\u8425\u5546\u5728\u5185\u7f51\u505a\u4e86\u4e2a\u81ea\u5df1\u7528\u7684\uff08\u79c1\u6709\uff1f\uff09 CDN\/Cache \u3002\u7528\u4e86 192.169.33\/24 \uff1f\u5730\u5740\u3002\u8ddf\u4f60\u81ea\u5df1\u7684 192.168.1.1 \u6ca1\u5173\u7cfb\u3002<\/p>\n<p>\u4f60\u7684 192.168.1.1 \u5730\u5740\u4f1a\u88ab CPE \u7f51\u5173\u505a NAT \u5c4f\u853d\u6389\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415155\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : eason1874 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u79fb\u52a8\u5bbd\u5e26\u7f51\u7edc\u6709\u7701\u7ea7\u5185\u7f51 CDN\uff0c\u4ee5\u524d\u8fde\u4e0d\u5141\u8bb8\u7f13\u5b58\u7684 HTTP \u8bf7\u6c42\u90fd\u6709\u51e0\u7387\u7f13\u5b58\uff0c\u6709\u65f6\u8fd8\u4f1a\u66ff\u6362 404\uff0c\u5728 HTTPS \u6ca1\u666e\u53ca\u7684\u65f6\u5019 RESTful API \u88ab\u5b83\u5751\u60e8\u4e86\u3002<\/p>\n<p>\u6ca1\u7ecf\u5386\u8fc7\u7684\u4eba\u8001\u559c\u6b22\u95ee\u4e3a\u4ec0\u4e48 API \u4e0d\u7528 REST \u98ce\u683c\uff0c\u7ecf\u5386\u8fc7\u7684\u5c31\u61c2\u4e3a\u4ec0\u4e48 API HTTP STATUS \u603b\u662f 200 OK                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415156\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cominghome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @also24 \u957f\u57ce\u5bbd\u5e26\uff1a\u52ff cue                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415157\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whileFalse <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @eason1874 \u7ecf\u5386\u8fc7\u7684\u4eba\u8be5\u95ee\u201c\u4f60\u6ca1\u542c\u8fc7 https \u5417\u201d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415158\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dream4ever <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @eason1874 \u6da8\u59ff\u52bf\u4e86\uff0c\u539f\u6765\u8fd8\u6709\u8fd9\u4e48\u4e2a\u6545\u4e8b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415159\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : doublleft <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @eason1874 #7 \u751a\u81f3\u8fd8\u9700\u8981\u4e3a\u6bcf\u4e2a\u63a5\u53e3\u52a0\u4e2a\u65f6\u95f4\u6233\uff0c ?_ts=1614651610157                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415160\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : also24 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @whileFalse #9 <br \/>\u300e\u5728 HTTPS \u6ca1\u666e\u53ca\u7684\u65f6\u5019\u300f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415161\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : lixuanyy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @eason1874 \u61c2\u4e86\uff01\u4f46\u662f\u8fd0\u8425\u5546\u5728\u4e0a\u7ea7\u7f51\u7edc\u4e0a\u7528 192.168 \u8fd9\u79cd c \u7c7b\u5730\u5740\u662f\u4e0d\u662f\u4e0d\u592a\u597d\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5415162\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : eason1874 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lixuanyy #13 \u5982\u679c\u6211\u544a\u8bc9\u4f60\uff0c\u4ee5\u524d\u4ed6\u4eec\u7684 HTTP CDN Server \u4f1a\u7be1\u6539 HTML \u548c JS \u6587\u4ef6\u63d2\u5165\u5e7f\u544a\u4ee3\u7801\uff0c\u4f1a HTTP 302 \u8c03\u5ea6\u6587\u4ef6\u4e0b\u8f7d\u94fe\u63a5\u5230\u4ed6\u4eec\u7684 CDN IP \u8def\u5f84\uff0c\u6bcf\u5e74\u5b95\u673a\u51e0\u6b21\uff0c\u5b95\u673a\u65f6\u5f71\u54cd\u7528\u6237\u8bbf\u95ee HTTP \u9875\u9762\uff08\u90e8\u5206\u7f51\u7ad9 HTTP \u8bf7\u6c42\u6ca1\u5230\u76ee\u6807\u7f51\u7ad9\u670d\u52a1\u5668\uff0c\u76f4\u63a5\u62a5\u9519\uff09\uff0c\u4f60\u4f1a\u4e0d\u4f1a\u89c9\u5f97\u7528\u4f60\u4e00\u4e2a\u5185\u7f51 IP \u4e5f\u4e0d\u662f\u4ec0\u4e48\u5927\u4e8b\u4e86\uff1f\uff08<\/p>\n<p>\u522b\u6307\u671b\u4ed6\u4eec\u4f1a\u6539\uff0c\u6211\u8ddf\u4ed6\u4eec\u8fa9\u8fc7\u51e0\u4e2a\u6765\u56de\u4e86\uff0c\u6ca1\u6709\u7528\u3002\u79fb\u52a8\u5bbd\u5e26\u4fbf\u5b9c\u5c31\u4fbf\u5b9c\u5728\u4ed6\u4eec\u81ea\u5efa CDN \u628a\u5927\u91cf\u8bf7\u6c42\u7f13\u5b58\u5230\u4e86\u5185\u7f51\uff0c\u8fd9\u53ef\u4ee5\u8bf4\u662f\u4ed6\u4eec\u7684\u7acb\u6839\u4e4b\u672c\u4e86\u3002<\/p>\n<p>\u5168\u90e8\u8bf7\u6c42\u4e0a HTTPS \u624d\u662f\u89e3\u51b3\u4e4b\u9053\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>[\u5947\u602a\u7684 CDN]\u5c40\u57df\u7f51\u4e5f\u4f1a\u6709 C&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/361053"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=361053"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/361053\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=361053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=361053"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=361053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}