{"id":447,"date":"2017-07-29T07:54:28","date_gmt":"2017-07-28T22:54:28","guid":{"rendered":"https:\/\/blog.srytk.com\/aquei\/?p=447"},"modified":"2018-10-12T07:17:50","modified_gmt":"2018-10-11T22:17:50","slug":"wordpress%e3%81%ae%e3%83%87%e3%83%95%e3%82%a9%e3%83%ab%e3%83%88js%e3%82%84css%e3%82%92jsdelivr%e3%81%8b%e3%82%89%e8%aa%ad%e3%81%bf%e8%be%bc%e3%82%80%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3","status":"publish","type":"post","link":"https:\/\/blog.srytk.com\/aquei\/447.html","title":{"rendered":"WordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8js\u3084css\u3092jsDelivr\u304b\u3089\u8aad\u307f\u8fbc\u3080\u30d7\u30e9\u30b0\u30a4\u30f3\u300cjsdelivred\u300d"},"content":{"rendered":"<p>WordPress\u304c<a href=\"https:\/\/github.com\/WordPress\/WordPress\/blob\/4.8\/wp-includes\/script-loader.php#L37\">\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8aad\u307f\u8fbc\u3080<\/a>\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\uff08\u30b3\u30a2\u30d5\u30a1\u30a4\u30eb\uff09\u3092<a href=\"https:\/\/www.jsdelivr.com\/\">jsDelivr\u306eCDN<\/a>\u304b\u3089\u30ed\u30fc\u30c9\u3059\u308bWordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u300c<a href=\"https:\/\/gist.github.com\/Aquei\/7dd4c9a7d1f4b9bd48f3d6ba9a036daa\">jsdelivred<\/a>\u300d\u3092\u66f8\u3044\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/gistcdn.githack.com\/Aquei\/4ff07045a46166edf0940a44b0b31c91\/raw\/c18d7b7a06ea7625bd0e63cc082c0bf739480c8b\/image.svg\" alt=\"wordpress plugin\" width=\"500\" height=\"500\" \/><\/p>\n<p>WordPress\u306ejs\u3084css\u306f<a href=\"https:\/\/github.com\/WordPress\/WordPress\/\">WordPress\/WordPress<\/a>\u3068\u3044\u3046GitHub\u30df\u30e9\u30fc\u304b\u3089\u3001<a href=\"https:\/\/github.com\/jsdelivr\/jsdelivr#github\">jsDelivr\u306eGitHub\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<\/a>\u3067\u8aad\u307f\u3053\u3080\u3088\u3046\u306b\u306a\u308b\u3002\u3053\u308c\u3089\u306e\u30a2\u30bb\u30c3\u30c8\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308bWordPress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u3082\u306e\u3092\u4f7f\u3046\u306e\u3067WordPress\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3068\u3001\u30a2\u30bb\u30c3\u30c8\u3082\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u308b\u306f\u305a\u3002\u30ed\u30fc\u30ab\u30eb\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30cf\u30c3\u30b7\u30e5\u3092\u8a08\u7b97\u3057\u3066<a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/Security\/Subresource_Integrity\">Subresource Integrity<\/a>\u3092\u5229\u7528\u3059\u308b\u306e\u3067GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u304bjsDelivr\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u6539\u7ac4\u3055\u308c\u3066\u3082\u3001<a href=\"http:\/\/caniuse.com\/#feat=subresource-integrity\">\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u30d6\u30e9\u30a6\u30b6<\/a>\u306a\u3089\u5c11\u3057\u5b89\u5fc3\u3067\u304d\u308b\u3002<\/p>\n<p><!--more--><\/p>\n<h2>\u30bd\u30fc\u30b9<\/h2>\n<p><script src=\"https:\/\/gist.github.com\/Aquei\/7dd4c9a7d1f4b9bd48f3d6ba9a036daa.js\"><\/script><\/p>\n<h2>\u65e2\u77e5\u306e\u554f\u984c\u3068\u304b<\/h2>\n<p><strong>jsdelivr\u306e\u30a8\u30c3\u30b8\u3084\u30aa\u30ea\u30b8\u30f3\u306b\u30ad\u30e3\u30b7\u30e5\u304c\u306a\u3044\u3068\u7cde\u9045\u3044\u3002<\/strong><\/p>\n<figure style=\"width: 1222px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/cldup.com\/pNgHvwmylB.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full\" src=\"https:\/\/cldup.com\/pNgHvwmylB.png\" alt=\"slow case\" width=\"1222\" height=\"254\" \/><\/a><figcaption class=\"wp-caption-text\">\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u306a\u3044\u3068\u6570\u79d2\u304b\u304b\u308b<\/figcaption><\/figure>\n<p>\u3082\u3061\u308d\u3093\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u308c\u3070\u554f\u984c\u306a\u3044\u304c\u3001WordPress\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u305f\u3073\u306b\u6700\u521d\u306e\u6570\u30a2\u30af\u30bb\u30b9\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u306a\u3044\u304b\u3089\u540c\u3058\u554f\u984c\u304c\u304a\u304d\u308b\u306f\u305a\u3002\u3053\u308c\u306f\u3001jsDelivr\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u304cWordPress\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u5168\u4f53\u3092\u30d5\u30a7\u30c3\u30c1\u3057\u306a\u304a\u3059\u304b\u3089\u3060\u3068\u601d\u3046\u3002\u3068\u308a\u3042\u3048\u305a\u3001<a href=\"https:\/\/rawgit.com\/\">RawGit<\/a>\u306e\u3088\u3046\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u30d5\u30a7\u30c3\u30c1\u3057\u3066\u3001\u3042\u3068\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u53d6\u5f97\u3059\u308b\u3068\u304b\u3084\u308a\u3088\u3046\u306f\u3042\u308a\u305d\u3046\u3060\u3051\u3069\u3002<\/p>\n<p><strong>\u30b3\u30a2\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u3068\u3044\u3046\u4fdd\u8a3c\u304c\u306a\u3044<\/strong><\/p>\n<p><a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_styles\/in_default_dir\/\">\u30c7\u30d5\u30a9\u30eb\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u304b\u3069\u3046\u304b<\/a>\u3067\u30b3\u30a2\u30d5\u30a1\u30a4\u30eb\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\u3057\u3066\u308b\u304b\u3089\u3001\u672c\u5f53\u306b\u305d\u308c\u304c\u6b63\u3057\u3044\u304b\u4fdd\u8a3c\u304c\u306a\u3044\u3002<\/p>\n<p><strong>PHP5.3.0\u672a\u6e80\u3060\u3068\u52d5\u304b\u306a\u3044<\/strong><\/p>\n<p><a href=\"http:\/\/php.net\/manual\/ja\/language.namespaces.basics.php\">\u540d\u524d\u7a7a\u9593<\/a>\u3092\u4f7f\u3063\u3066\u308b\u304b\u3089\u3002\u3067\u3082\u305d\u3093\u306a\u53e4\u3044PHP\u4f7f\u3063\u305f\u3089\u30c0\u30e1\u3002<\/p>\n<p><strong>WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u4e0d\u6163\u308c<\/strong><\/p>\n<p>WordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u304b\u3088\u304f\u308f\u304b\u3093\u306a\u3044\u3002\u4eca\u306e\u3068\u3053\u308d\u52d5\u3044\u3066\u308b\u307f\u305f\u3044\u3060\u3051\u3069\u5c06\u6765\u306f\u308f\u304b\u3089\u306a\u3044\u3002\u305f\u3060\u3001\u3053\u3046\u3044\u3046\u3082\u306e\u3092\u66f8\u304f\u3068\u52c9\u5f37\u306b\u306f\u306a\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8aad\u307f\u8fbc\u3080\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\uff08\u30b3\u30a2\u30d5\u30a1\u30a4\u30eb\uff09\u3092jsDelivr\u306eCDN\u304b\u3089\u30ed\u30fc\u30c9\u3059\u308bWordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u300cjsdelivred\u300d\u3092\u66f8\u3044\u305f\u3002 WordPress\u306ejs\u3084css\u306f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":5,"footnotes":""},"categories":[2],"tags":[172,181,182,3],"class_list":["post-447","post","type-post","status-publish","format-standard","hentry","category-tech","tag-jsdelivr","tag-jsdelivred","tag-php","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/posts\/447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/comments?post=447"}],"version-history":[{"count":4,"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/posts\/447\/revisions"}],"predecessor-version":[{"id":495,"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/posts\/447\/revisions\/495"}],"wp:attachment":[{"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/media?parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/categories?post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.srytk.com\/aquei\/wp-json\/wp\/v2\/tags?post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}