{"id":7451,"date":"2021-07-16T18:11:35","date_gmt":"2021-07-16T10:11:35","guid":{"rendered":"https:\/\/www.wopus.org\/?p=7451"},"modified":"2021-07-16T18:11:50","modified_gmt":"2021-07-16T10:11:50","slug":"wordpress-5-8%e5%b0%86%e6%94%af%e6%8c%81webp%e6%a0%bc%e5%bc%8f%e5%9b%be%e7%89%87","status":"publish","type":"post","link":"https:\/\/wopus.org\/?p=7451","title":{"rendered":"WordPress 5.8\u5c06\u652f\u6301WebP\u683c\u5f0f\u56fe\u7247"},"content":{"rendered":"<p>WordPress 5.8\u5373\u5c06\u53d1\u5e03\uff0cWordPress\u66f4\u591a\u529f\u80fdWopus\u4f1a\u9646\u7eed\u4ecb\u7ecd\uff0c\u4eca\u5929\u662f\u5173\u4e8e\u65b0\u7684\u56fe\u7247\u683c\u5f0fwebP\u7684\u3002WordPress\u5c06\u4ece5.8\u7248\u672c\u5f00\u59cb\uff0c\u652f\u6301webP\u683c\u5f0f\u7684\u56fe\u7247\u3002<\/p>\n<p>\u7b80\u5355\u6765\u8bf4\uff0cwebP\u662f\u4e00\u79cd\u7531Google\u516c\u53f8\u57282010\u5e749\u6708\u4efd\u521b\u5efa\u7684\u4e00\u79cd\u5168\u65b0\u7684\u56fe\u7247\u683c\u5f0f\uff0c\u73b0\u5728\u5168\u7403\u4e3b\u6d41\u7684\u6d4f\u89c8\u5668\u51e0\u4e4e\u90fd\u652f\u6301\u8fd9\u79cd\u56fe\u7247\u683c\u5f0f\u4e86\uff0c\u76f8\u6bd4\u4e8e\u73b0\u5728\u5e38\u7528\u7684\u56fe\u7247\u683c\u5f0f\uff0cwebP\u6709\u660e\u663e\u7684\u4f18\u52bf\uff0c\u5728\u4f53\u79ef\u538b\u7f29\u6bd4\u4e0a\uff0cwebP\u76f8\u6bd4\u4e8epng\u548cjpeg\u6709\u660e\u663e\u7684\u4f18\u52bf\u3002<\/p>\n<p>\u5728\u524d1000\u4e07\u4e2a\u7f51\u7ad9\u4e2d\uff0cwebP\u7684\u4f7f\u7528\u7387\u662f1.6%\uff0c\u867d\u7136\u73b0\u5728\u8fd8\u5f88\u5c11\uff0c\u4f46\u662f\u8fd9\u4e2a\u91cf\u7ea7\u5df2\u7ecf\u8d85\u8fc7webP\u8fc7\u53bb5\u5e74\u5728\u7f51\u7ad9\u4e0a\u7684\u4f7f\u7528\u7387\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7452\" src=\"https:\/\/www.wopus.org\/wp-content\/uploads\/2021\/07\/1626429289-cb92c44a6ff8b08.png\" alt=\"\" width=\"1660\" height=\"650\" srcset=\"https:\/\/wopus.org\/wp-content\/uploads\/2021\/07\/1626429289-cb92c44a6ff8b08.png 1660w, https:\/\/wopus.org\/wp-content\/uploads\/2021\/07\/1626429289-cb92c44a6ff8b08-768x301.png 768w, https:\/\/wopus.org\/wp-content\/uploads\/2021\/07\/1626429289-cb92c44a6ff8b08-1536x601.png 1536w\" sizes=\"auto, (max-width: 1660px) 100vw, 1660px\" \/><\/p>\n<p>\u6570\u636e\u6765\u6e90\u4e8e\uff1aW3Techs<\/p>\n<p>\u652f\u6301webP\u683c\u5f0f\u7684\u56fe\u7247\u53ef\u4ee5\u63d0\u5347WordPress\u7f51\u7ad9\u7684\u6574\u4f53\u8bbf\u95ee\u901f\u5ea6\uff0c\u8fd9\u5bf9\u5927\u56fe\u7247\u7f51\u7ad9\u662f\u975e\u5e38\u597d\u7684\u6d88\u606f\uff0c\u6bd5\u7adf\u63d0\u5347\u7f51\u7ad9\u901f\u5ea6\uff0c\u8282\u7701\u670d\u52a1\u5668\u5bbd\u5e26\u5f00\u652f\uff0c\u662f\u7f51\u7ad9\u7684\u6838\u5fc3\u529f\u80fd\u3002<\/p>\n<p>\u540e\u7eed\u5e0c\u671bWordPress\u5b98\u65b9\u80fd\u51fa\u4e00\u6b3e\u63d2\u4ef6\u56fe\u7247\u8f6c\u6362\u7684\u63d2\u4ef6\uff0c\u53ef\u4ee5\u628a\u65b0\u4e0a\u4f20\u7684\u56fe\u7247\u90fd\u8f6c\u6210webP\u683c\u5f0f\u7684\uff0c\u4e5f\u5e0c\u671b\u80fd\u628a\u5df2\u7ecf\u5b58\u5728\u7684\u56fe\u7247\u4e5f\u90fd\u8f6c\u6210webP\u7684\uff0c\u8fd9\u6d89\u53ca\u5230\u56fe\u7247\u7684\u94fe\u63a5\u5730\u5740\uff0c\u4f3c\u4e4e\u4f1a\u6bd4\u8f83\u9ebb\u70e6\uff0c\u540e\u7eed\u7ee7\u7eed\u770b\u5427\u3002<\/p>\n<p>\u76ee\u524d\uff0c\u5df2\u7ecf\u6709\u7b2c\u4e09\u65b9\u7684\u56fe\u7247\u7ba1\u7406\u63d2\u4ef6\u652f\u6301\u683c\u5f0f\u8f6c\u6362\u4e86\uff0c\u662f\uff1aEWWW Image Optimizer\u63d2\u4ef6\uff0cWopus\u7a0d\u540e\u4f1a\u5199\u4e00\u7bc7\u8be6\u7ec6\u7684\u6587\u7ae0\uff0c\u4ecb\u7ecd\u8fd9\u6b3e\u63d2\u4ef6\u548cwebP\u56fe\u7247\u8f6c\u6362\u7684\u4e8b\u60c5\u3002<\/p>\n<p>\u540e\u7eed\uff0c\u4e5f\u5c31SVG\u683c\u5f0f\u7684\u56fe\u7247\u4e86\uff0c\u5982\u679c\u518d\u652f\u6301\u8fd9\u4e2a\u683c\u5f0f\u7684\u56fe\u7247\uff0cWordPress\u66f4\u5b8c\u7f8e\u4e86\u3002<\/p>\n<p><strong>\u5173\u4e8ewebP\uff1a<\/strong>\u77e5\u4e4e\u4e0a\u6709\u4e00\u7bc7\u6587\u7ae0\uff1a<a href=\"https:\/\/www.zhihu.com\/question\/27201061\" target=\"_blank\" rel=\"noopener\">https:\/\/www.zhihu.com\/question\/27201061<\/a> \uff0c\u8fd9\u91cc\u662f\u5173\u4e8ewebP\u7684\u767e\u5ea6\u767e\u79d1\uff1a<a href=\"https:\/\/baike.baidu.com\/item\/webp%E6%A0%BC%E5%BC%8F\/4077671?fr=aladdin\" target=\"_blank\" rel=\"noopener\">\u70b9\u51fb\u67e5\u770b<\/a>\uff1b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress 5.8\u5373\u5c06\u53d1\u5e03\uff0cWordPress\u66f4\u591a\u529f\u80fdWopus\u4f1a\u9646\u7eed\u4ecb\u7ecd\uff0c\u4eca\u5929\u662f\u5173\u4e8e\u65b0\u7684\u56fe\u7247\u683c\u5f0fwebP\u7684\u3002WordPress\u5c06\u4ece5.8\u7248\u672c\u5f00\u59cb\uff0c\u652f\u6301webP\u683c\u5f0f\u7684\u56fe\u7247\u3002 \u7b80\u5355\u6765\u8bf4\uff0cwebP\u662f\u4e00\u79cd\u7531Google\u516c\u53f8\u57282010\u5e749\u6708\u4efd\u521b\u5efa\u7684\u4e00\u79cd\u5168\u65b0\u7684\u56fe\u7247\u683c\u5f0f\uff0c\u73b0\u5728\u5168\u7403\u4e3b\u6d41\u7684\u6d4f\u89c8\u5668\u51e0\u4e4e\u90fd\u652f\u6301\u8fd9\u79cd\u56fe\u7247\u683c\u5f0f\u4e86\uff0c\u76f8\u6bd4\u4e8e\u73b0\u5728\u5e38\u7528\u7684\u56fe\u7247\u683c\u5f0f\uff0cwebP\u6709\u660e\u663e\u7684\u4f18\u52bf\uff0c\u5728\u4f53\u79ef\u538b\u7f29\u6bd4\u4e0a\uff0cwebP\u76f8\u6bd4\u4e8epng\u548cjpeg\u6709\u660e\u663e\u7684\u4f18\u52bf\u3002 \u5728\u524d1000\u4e07\u4e2a\u7f51\u7ad9\u4e2d\uff0cwebP\u7684\u4f7f\u7528\u7387\u662f1.6%\uff0c\u867d\u7136\u73b0\u5728\u8fd8\u5f88\u5c11\uff0c\u4f46\u662f\u8fd9\u4e2a\u91cf\u7ea7\u5df2\u7ecf\u8d85\u8fc7webP\u8fc7\u53bb5\u5e74\u5728\u7f51\u7ad9\u4e0a\u7684\u4f7f\u7528\u7387\u4e86\u3002 \u6570\u636e\u6765\u6e90\u4e8e\uff1aW3Techs \u652f\u6301webP\u683c\u5f0f\u7684\u56fe\u7247\u53ef\u4ee5\u63d0\u5347WordPress\u7f51\u7ad9\u7684\u6574\u4f53\u8bbf\u95ee\u901f\u5ea6\uff0c\u8fd9\u5bf9\u5927\u56fe\u7247\u7f51\u7ad9\u662f\u975e\u5e38\u597d\u7684\u6d88\u606f\uff0c\u6bd5\u7adf\u63d0\u5347\u7f51\u7ad9\u901f\u5ea6\uff0c\u8282\u7701\u670d\u52a1\u5668\u5bbd\u5e26\u5f00\u652f\uff0c\u662f\u7f51\u7ad9\u7684\u6838\u5fc3\u529f\u80fd\u3002 \u540e\u7eed\u5e0c\u671bWordPress\u5b98\u65b9\u80fd\u51fa\u4e00\u6b3e\u63d2\u4ef6\u56fe\u7247\u8f6c\u6362\u7684\u63d2\u4ef6\uff0c\u53ef\u4ee5\u628a\u65b0\u4e0a\u4f20\u7684\u56fe\u7247\u90fd\u8f6c\u6210webP\u683c\u5f0f\u7684\uff0c\u4e5f\u5e0c\u671b\u80fd\u628a\u5df2\u7ecf\u5b58\u5728\u7684\u56fe\u7247\u4e5f\u90fd\u8f6c\u6210webP\u7684\uff0c\u8fd9\u6d89\u53ca\u5230\u56fe\u7247\u7684\u94fe\u63a5\u5730\u5740\uff0c\u4f3c\u4e4e\u4f1a\u6bd4\u8f83\u9ebb\u70e6\uff0c\u540e\u7eed\u7ee7\u7eed\u770b\u5427\u3002 \u76ee\u524d\uff0c\u5df2\u7ecf\u6709\u7b2c\u4e09\u65b9\u7684\u56fe\u7247\u7ba1\u7406\u63d2\u4ef6\u652f\u6301\u683c\u5f0f\u8f6c\u6362\u4e86\uff0c\u662f\uff1aEWWW Image Optimizer\u63d2\u4ef6\uff0cWopus\u7a0d\u540e\u4f1a\u5199\u4e00\u7bc7\u8be6\u7ec6\u7684\u6587\u7ae0\uff0c\u4ecb\u7ecd\u8fd9\u6b3e\u63d2\u4ef6\u548cwebP\u56fe\u7247\u8f6c\u6362\u7684\u4e8b\u60c5\u3002 \u540e\u7eed\uff0c\u4e5f\u5c31SVG\u683c\u5f0f\u7684\u56fe\u7247\u4e86\uff0c\u5982\u679c\u518d\u652f\u6301\u8fd9\u4e2a\u683c\u5f0f\u7684\u56fe\u7247\uff0cWordPress\u66f4\u5b8c\u7f8e\u4e86\u3002 \u5173\u4e8ewebP\uff1a\u77e5\u4e4e\u4e0a\u6709\u4e00\u7bc7\u6587\u7ae0\uff1ahttps:\/\/www.zhihu.com\/question\/27201061 \uff0c\u8fd9\u91cc\u662f\u5173\u4e8ewebP\u7684\u767e\u5ea6\u767e\u79d1\uff1a\u70b9\u51fb\u67e5\u770b\uff1b<\/p>\n","protected":false},"author":1,"featured_media":7453,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[1884,1879],"class_list":["post-7451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-news","tag-webp","tag-wordpress-5-8"],"_links":{"self":[{"href":"https:\/\/wopus.org\/index.php?rest_route=\/wp\/v2\/posts\/7451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wopus.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wopus.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wopus.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wopus.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7451"}],"version-history":[{"count":2,"href":"https:\/\/wopus.org\/index.php?rest_route=\/wp\/v2\/posts\/7451\/revisions"}],"predecessor-version":[{"id":7455,"href":"https:\/\/wopus.org\/index.php?rest_route=\/wp\/v2\/posts\/7451\/revisions\/7455"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wopus.org\/index.php?rest_route=\/wp\/v2\/media\/7453"}],"wp:attachment":[{"href":"https:\/\/wopus.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wopus.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wopus.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}