{"id":119026,"date":"2020-03-31T04:36:15","date_gmt":"2020-03-31T04:36:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/zhanzhangb-tcdn\/"},"modified":"2026-05-02T19:26:00","modified_gmt":"2026-05-02T19:26:00","slug":"zhanzhangb-tcdn","status":"publish","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/zhanzhangb-tcdn\/","author":17383024,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1.0","stable_tag":"2.1.0","tested":"7.0","requires":"5.5","requires_php":"7.0","requires_plugins":null,"header_name":"\u7ad9\u957f\u5e2e - WordPress CDN \u7f13\u5b58\u7ba1\u7406\u63d2\u4ef6","header_author":"\u7ad9\u957f\u5e2e","header_description":"\u81ea\u52a8\u5237\u65b0\u817e\u8baf\u4e91CDN\u5237\u65b0\u7f13\u5b58\u7684\u63d2\u4ef6\u3002\u5728\u53d1\u5e03\u6216\u66f4\u65b0\u6587\u7ae0\u3001\u6587\u7ae0\u88ab\u53d1\u8868\u8bc4\u8bba\u4e0e\u8bc4\u8bba\u88ab\u5ba1\u6279\u540e\u81ea\u52a8\u5237\u65b0\u817e\u8baf\u4e91CDN\u76f8\u5173URL\u7684\u7f13\u5b58\u3002","assets_banners_color":"","last_updated":"2026-05-02 19:26:00","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.zhanzhangb.cn\/","header_plugin_uri":"https:\/\/www.zhanzhangb.cn\/wordpress-cdn-plugins\/","header_author_uri":"https:\/\/www.zhanzhangb.cn\/","rating":5,"author_block_rating":0,"active_installs":30,"downloads":2468,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"ywtywt","date":"2025-06-25 17:45:26"},"2.1.0":{"tag":"2.1.0","author":"ywtywt","date":"2026-05-02 19:26:00"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2271285,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2271285,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.0","2.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3521042,"resolution":"1","location":"assets","locale":"","width":1302,"height":735},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3521042,"resolution":"2","location":"assets","locale":"","width":967,"height":931}},"screenshots":{"1":"<code>\/assets\/screenshot-1.png<\/code>","2":"<code>\/assets\/screenshot-2.png<\/code>"}},"plugin_section":[],"plugin_tags":[146,3863,244095,247,188717],"plugin_category":[52,54,59],"plugin_contributors":[183676],"plugin_business_model":[],"class_list":["post-119026","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-cdn","plugin_tags-edgeone","plugin_tags-performance","plugin_tags-tencent-cloud","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_category-utilities-and-tools","plugin_contributors-ywtywt","plugin_committers-ywtywt"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/zhanzhangb-tcdn\/assets\/icon-128x128.png?rev=2271285","icon_2x":"https:\/\/ps.w.org\/zhanzhangb-tcdn\/assets\/icon-256x256.png?rev=2271285","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/zhanzhangb-tcdn\/assets\/screenshot-1.png?rev=3521042","caption":"<code>\/assets\/screenshot-1.png<\/code>"},{"src":"https:\/\/ps.w.org\/zhanzhangb-tcdn\/assets\/screenshot-2.png?rev=3521042","caption":"<code>\/assets\/screenshot-2.png<\/code>"}],"raw_content":"<!--section=description-->\n<p><strong>\u6838\u5fc3\u529f\u80fd\u4eae\u70b9<\/strong><\/p>\n\n<p>\ud83d\ude80 \u667a\u80fd\u7f13\u5b58\u5237\u65b0\n- \u6587\u7ae0\/\u9875\u9762\u53d1\u5e03\u6216\u66f4\u65b0\u65f6\u81ea\u52a8\u5237\u65b0\u76f8\u5173 CDN \u7f13\u5b58\n- \u8bc4\u8bba\u63d0\u4ea4\u53ca\u5ba1\u6838\u901a\u8fc7\u540e\u5373\u65f6\u66f4\u65b0\u5c55\u793a\n- \u652f\u6301\u9996\u9875\u3001\u5206\u7c7b\u9875\u3001\u6807\u7b7e\u9875\u7b49\u6838\u5fc3\u9875\u9762\u7684\u7f13\u5b58\u7ba1\u7406<\/p>\n\n<p>\u26a1 \u624b\u52a8\u5237\u65b0\u4e0e\u9884\u70ed\n- \u652f\u6301\u624b\u52a8\u5237\u65b0\u6307\u5b9a URL \u7684\u7f13\u5b58\n- \u652f\u6301\u624b\u52a8\u9884\u70ed\u6307\u5b9a URL \u7684\u7f13\u5b58\n- \u72ec\u7acb\u64cd\u4f5c\u9875\u9762\uff0c\u7b80\u5355\u6613\u7528<\/p>\n\n<p>\ud83d\udd27 \u591a CDN \u670d\u52a1\u5546\u652f\u6301\n- \u817e\u8baf\u4e91 CDN\n- \u817e\u8baf\u4e91 EdgeOne\n- Nginx ngx_cache_purge \u6a21\u5757\n- Cloudflare<\/p>\n\n<p>\ud83d\udee0\ufe0f \u4fbf\u6377\u7ba1\u7406\n- \u76f4\u89c2\u7684\u4e2d\u6587\u7ba1\u7406\u754c\u9762\n- \u5b8c\u5584\u7684\u9519\u8bef\u65e5\u5fd7\u7cfb\u7edf\n- \u652f\u6301\u591a\u573a\u666f\u5237\u65b0\u7b56\u7565\u914d\u7f6e<\/p>\n\n<p>\ud83d\udd0c \u6269\u5c55\u53cb\u597d\n- \u91c7\u7528\u6a21\u5757\u5316\u67b6\u6784\u8bbe\u8ba1\n- \u9884\u7559\u591a CDN \u670d\u52a1\u5546\u63a5\u53e3\n- \u6301\u7eed\u66f4\u65b0\u7ef4\u62a4<\/p>\n\n<p><a href=\"https:\/\/www.zhanzhangb.cn\/wordpress-cdn-plugins\">\u2192 \u63d2\u4ef6\u5b98\u65b9\u6587\u6863<\/a><\/p>\n\n<h3>\u5b89\u88c5\u6307\u5357<\/h3>\n\n<ol>\n<li>\u901a\u8fc7 WordPress \u540e\u53f0\u300c\u63d2\u4ef6\u300d\u2192\u300c\u5b89\u88c5\u63d2\u4ef6\u300d\u4e0a\u4f20\u5b89\u88c5<\/li>\n<li>\u5728\u63d2\u4ef6\u9875\u9762\u70b9\u51fb\u300c\u542f\u7528\u300d<\/li>\n<li>\u524d\u5f80\u300c\u8bbe\u7f6e\u300d\u2192\u300cCDN \u7f13\u5b58\u7ba1\u7406\u300d\u5b8c\u6210\u914d\u7f6e<\/li>\n<li>\u5728\u300c\u4e3b\u8981\u8bbe\u7f6e\u300d\u4e2d\u52fe\u9009\u9700\u8981\u542f\u7528\u7684 CDN \u670d\u52a1\u5546<\/li>\n<li>\u6839\u636e\u9700\u6c42\u914d\u7f6e\u7f13\u5b58\u5237\u65b0\u7b56\u7565<\/li>\n<\/ol>\n\n<h3>\u5e38\u89c1\u95ee\u9898<\/h3>\n\n<h4>\u5982\u4f55\u83b7\u53d6\u817e\u8baf\u4e91 API \u5bc6\u94a5\uff1f<\/h4>\n\n<p>\u8bbf\u95ee\u817e\u8baf\u4e91 <a href=\"https:\/\/console.cloud.tencent.com\/cam\/capi\">API \u5bc6\u94a5\u7ba1\u7406\u63a7\u5236\u53f0<\/a> \u521b\u5efa\u5bc6\u94a5\u5bf9<\/p>\n\n<h4>\u4e3a\u4ec0\u4e48\u7f13\u5b58\u5237\u65b0\u5931\u8d25\uff1f<\/h4>\n\n<ol>\n<li>\u68c0\u67e5 API \u5bc6\u94a5\u662f\u5426\u6709\u6548<\/li>\n<li>\u786e\u8ba4\u7f51\u7edc\u8fde\u63a5\u6b63\u5e38<\/li>\n<li>\u67e5\u770b\u63d2\u4ef6\u9519\u8bef\u65e5\u5fd7\u83b7\u53d6\u8be6\u7ec6\u4fe1\u606f<\/li>\n<li>\u53c2\u8003<a href=\"https:\/\/www.zhanzhangb.cn\/wordpress-cdn-plugins#FAQ\">\u6545\u969c\u6392\u9664\u6307\u5357<\/a><\/li>\n<\/ol>\n\n<h4>\u624b\u52a8\u5237\u65b0\u548c\u9884\u70ed\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/h4>\n\n<ul>\n<li><strong>\u5237\u65b0\u7f13\u5b58<\/strong>\uff1a\u6e05\u9664\u6307\u5b9a URL \u7684\u65e7\u7f13\u5b58\uff0c\u4e0b\u6b21\u8bbf\u95ee\u65f6\u91cd\u65b0\u4ece\u6e90\u7ad9\u62c9\u53d6<\/li>\n<li><strong>\u9884\u70ed\u7f13\u5b58<\/strong>\uff1a\u63d0\u524d\u5c06\u6307\u5b9a URL \u7684\u5185\u5bb9\u7f13\u5b58\u5230 CDN \u8282\u70b9\uff0c\u65e0\u9700\u7b49\u5f85\u7528\u6237\u8bbf\u95ee\u624d\u7f13\u5b58<\/li>\n<\/ul>\n\n<h4>\u54ea\u4e9b\u670d\u52a1\u5546\u652f\u6301\u9884\u70ed\u529f\u80fd\uff1f<\/h4>\n\n<p>\u76ee\u524d\u53ea\u6709\u817e\u8baf\u4e91 CDN \u548c\u817e\u8baf\u4e91 EdgeOne \u652f\u6301\u9884\u70ed\u529f\u80fd\u3002Nginx \u548c Cloudflare \u4e0d\u652f\u6301\u9884\u70ed\u3002<\/p>\n\n<h3>\u9690\u79c1\u58f0\u660e<\/h3>\n\n<p>\u672c\u63d2\u4ef6\u4ec5\u901a\u8fc7\u5b98\u65b9 API \u4e0e CDN \u670d\u52a1\u5546\u4ea4\u4e92\uff0c\u4f20\u8f93\u5fc5\u8981\u4fe1\u606f\u5305\u62ec\uff1a\n- \u9700\u8981\u64cd\u4f5c\u7684 URL \u5217\u8868\n- \u7528\u4e8e\u8eab\u4efd\u9a8c\u8bc1\u7684 API \u5bc6\u94a5\n- \u64cd\u4f5c\u7c7b\u578b\u6807\u8bc6\u7b26<\/p>\n\n<p>\u6211\u4eec\u4e0d\u4f1a\u6536\u96c6\u6216\u5b58\u50a8\u60a8\u7684\u7f51\u7ad9\u6570\u636e\u3002<\/p>\n\n<p>\u817e\u8baf\u4e91\u670d\u52a1\u9690\u79c1\u653f\u7b56\uff1a\nhttps:\/\/cloud.tencent.com\/document\/product\/301\/11470\nCloudflare \u9690\u79c1\u653f\u7b56\uff1a\nhttps:\/\/www.cloudflare.com\/zh-cn\/privacypolicy\/<\/p>\n\n<h3>\u6280\u672f\u652f\u6301<\/h3>\n\n<p>\u7531 <a href=\"https:\/\/www.zhanzhangb.cn\">\u7ad9\u957f\u5e2e<\/a> \u4e13\u4e1a\u56e2\u961f\u7ef4\u62a4\n\u5728\u7ebf\u652f\u6301\uff1a<a href=\"https:\/\/wordpress.org\/support\/plugin\/zhanzhangb-tcdn\/\">\u793e\u533a\u95ee\u7b54<\/a>\n- <a href=\"https:\/\/www.zhanzhangb.cn\/tutorials\/\">\u7ad9\u957f\u5e2e\u6559\u7a0b<\/a>\uff1ahttps:\/\/www.zhanzhangb.cn\/tutorials\/\n- <a href=\"https:\/\/zy.zhanzhangb.cn\/\">\u7ad9\u957f\u5e2e\u8d44\u6e90<\/a>\uff1ahttps:\/\/zy.zhanzhangb.cn\/<\/p>\n\n<!--section=changelog-->\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>\u65b0\u589e\u652f\u6301\u540c\u65f6\u5904\u7406\u591a CDN \u670d\u52a1\u5546\u7684\u7f13\u5b58\u5237\u65b0\/\u9884\u7f13\u5b58\uff08\u56e0\u7a0b\u5e8f\u5904\u7406\u903b\u8f91\u4e0e\u4e4b\u524d\u7248\u672c\u5b8c\u5168\u4e0d\u540c\uff0c\u5347\u7ea7\u540e\u9700\u91cd\u65b0\u8bbe\u7f6e\u63d2\u4ef6\uff09<\/li>\n<li>\u65b0\u589e\u652f\u6301\u81ea\u5b9a\u4e49\u6587\u7ae0\u7c7b\u578b<\/li>\n<li>\u65b0\u589e\u624b\u52a8\u5237\u65b0\u529f\u80fd\uff0c\u53ef\u624b\u52a8\u5237\u65b0\u6307\u5b9a URL \u7684\u7f13\u5b58<\/li>\n<li>\u65b0\u589e\u624b\u52a8\u9884\u70ed\u529f\u80fd\uff0c\u652f\u6301\u624b\u52a8\u9884\u70ed\u6307\u5b9a URL \u7684\u7f13\u5b58<\/li>\n<li>\u65b0\u589e\u652f\u6301Nginx ngx_cache_purge\u3001Cloudflare\uff1b\u76ee\u524d\u5df2\u652f\u6301\u817e\u8baf\u4e91 CDN\u3001\u817e\u8baf\u4e91 EdgeOne\u3001Nginx ngx_cache_purge\u3001Cloudflare \u56db\u4e2a\u670d\u52a1\u5546<\/li>\n<li>\u4f18\u5316\u4ee3\u7801\u7ed3\u6784<\/li>\n<li>\u901a\u8fc7 WordPress 7.0 \u517c\u5bb9\u6027\u6d4b\u8bd5<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>\u65b0\u589e\u817e\u8baf\u4e91 EdgeOne \u5168\u9762\u652f\u6301<\/li>\n<li>\u91cd\u6784 API \u8c03\u7528\u67b6\u6784\uff0c\u6539\u7528\u8f7b\u91cf\u7ea7 HTTP \u8bf7\u6c42<\/li>\n<li>\u4f18\u5316\u4ee3\u7801\u6267\u884c\u6548\u7387<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>\u6838\u5fc3\u4ee3\u7801\u5168\u9762\u91cd\u6784<\/li>\n<li>\u65b0\u589e\u9884\u7f13\u5b58\u529f\u80fd<\/li>\n<li>\u589e\u5f3a\u9519\u8bef\u5904\u7406\u673a\u5236<\/li>\n<\/ul>","raw_excerpt":"\u4e3a WordPress \u7f51\u7ad9\u63d0\u4f9b\u667a\u80fd CDN \u7f13\u5b58\u7ba1\u7406\uff0c\u81ea\u52a8\u5237\u65b0\u4e0e\u9884\u70ed\u4e00\u624b\u638c\u63e1\u3002\u53d1\u5e03\u3001\u66f4\u65b0\u6587\u7ae0\u6216\u8bc4\u8bba\u72b6\u6001\u53d8\u66f4\u65f6\uff0c\u81ea\u52a8\u5237\u65b0\u76f8\u5173\u9875\u9762\u7f13\u5b58\u5e76\u53ef\u9009\u9884\u70ed\uff0c\u786e\u4fdd\u8bbf\u5ba2\u5373\u65f6\u83b7\u53d6\u6700\u65b0\u5185\u5bb9\u3002\u652f\u6301\u540c\u65f6\u542f\u7528\u591a\u4e2a\u670d\u52a1\u5546\uff1a\u817e\u8baf\u4e91 CDN\u3001\u817e\u8baf\u4e91 EdgeOne\u3001Nginx (ngx_cache_purge)\u3001Cloudflar &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/119026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=119026"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ywtywt"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=119026"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=119026"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=119026"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=119026"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=119026"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=119026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}