{"id":298,"date":"2019-11-26T07:41:13","date_gmt":"2019-11-25T22:41:13","guid":{"rendered":"https:\/\/baigie.me\/officialblog\/?p=298"},"modified":"2025-01-07T12:05:28","modified_gmt":"2025-01-07T03:05:28","slug":"high-speed-frontend","status":"publish","type":"post","link":"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/","title":{"rendered":"\u30b5\u30a4\u30c8\u306e\u8868\u793a\u9ad8\u901f\u5316\u306b\u3064\u306a\u304c\u308b18\u306e\u3053\u3068"},"content":{"rendered":"<p>\u30d9\u30a4\u30b8\u3067\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3084\u3063\u3066\u3044\u308b\u9152\u4e95\u3067\u3059\u3002<\/p>\n<p>\u30d9\u30a4\u30b8\u306b\u306f2017\u5e74\u306b\u3001\u65b0\u5352\u3067\u5165\u793e\u3057\u307e\u3057\u305f\u3002\u3044\u3064\u3082\u306fJavaScript\u306e\u958b\u767a\u304b\u3089WordPress\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306a\u3069\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3092\u4e2d\u5fc3\u3068\u3057\u306a\u304c\u3089\u3001\u4e00\u90e8\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3082\u542b\u3081\u3066\u4ed5\u4e8b\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u300eknowledge \/ baigie\u300f\u3067\u3082\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u5bc4\u308a\u306e\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u79c1\u306e\u4eca\u65e5\u306e\u30c6\u30fc\u30de\u306f\u3001\u8868\u793a\u306e\u9ad8\u901f\u5316\u306b\u3064\u3044\u3066\u3067\u3059\u3002<\/p>\n<p>web\u30b5\u30a4\u30c8\u306e\u8868\u793a\u30b9\u30d4\u30fc\u30c9\u306f\u3001web\u30b5\u30a4\u30c8\u306e\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u306b\u76f4\u7d50\u3059\u308b\u3068\u79c1\u306f\u8003\u3048\u3066\u3044\u307e\u3059\u3002\u8868\u5c64\u7684\u306aUI\u30c7\u30b6\u30a4\u30f3\u306e\u6539\u5584\u4ee5\u4e0a\u306b\u91cd\u8981\u304b\u3064\u52b9\u679c\u7684\u3067\u3042\u308b\u3053\u3068\u3082\u591a\u3044\u305f\u3081\u3001web\u306e\u30c7\u30b6\u30a4\u30ca\u30fc\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u306f\u30010.1\u79d2\u3067\u3082\u901f\u304f\u306a\u308b\u3053\u3068\u306b\u3053\u3060\u308f\u308b\u3079\u304d\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u8868\u793a\u9ad8\u901f\u5316\u306e\u624b\u6cd5\u3068\u3044\u3046\u3068\u3001\u30b5\u30fc\u30d0\u5074\u306e\u8a71\u306b\u306a\u308b\u3053\u3068\u3082\u591a\u3044\u3067\u3059\u304c\u3001\u5b9f\u306f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u5074\u3067\u3067\u304d\u308b\u3053\u3068\u3082\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u306f\u5927\u304d\u304f3\u3064\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30d6\u30e9\u30a6\u30b6\u51e6\u7406\u306e\u9ad8\u901f\u5316<\/li>\n<li>\u901a\u4fe1\u306e\u9ad8\u901f\u5316<\/li>\n<li>\u4f53\u611f\u901f\u5ea6\u306e\u9ad8\u901f\u5316<\/li>\n<\/ul>\n<p><span>\u4e00\u3064\u76ee\u306e\u300c<\/span>\u30d6\u30e9\u30a6\u30b6\u51e6\u7406\u306e\u9ad8\u901f\u5316<span>\u300d\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u304c\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u89e3\u6790\u3059\u308b\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3057\u3001\u63cf\u753b\u307e\u3067\u306e\u6642\u9593\u3092\u3067\u304d\u308b\u3060\u3051\u77ed\u304f\u3057\u3066\u8868\u793a\u6642\u9593\u3092\u77ed\u304f\u3059\u308b\u3088\u3046\u306a\u624b\u6cd5\u3067\u3059\u3002<\/span><\/p>\n<p><span>\u4e8c\u3064\u76ee\u306e\u300c\u901a\u4fe1\u306e\u9ad8\u901f\u5316\u300d\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u8efd\u91cf\u5316\u3084\u901a\u4fe1\u65b9\u6cd5\u306e\u5909\u3048\u308b\u3053\u3068\u3067\u3001\u901a\u4fe1\u6642\u9593\u3092\u77ed\u304f\u3057\u3066\u8868\u793a\u3092\u901f\u304f\u3059\u308b\u3088\u3046\u306a\u624b\u6cd5\u3067\u3059\u3002<\/span><\/p>\n<p>\u6700\u5f8c\u306e\u300c\u4f53\u611f\u901f\u5ea6\u306e\u9ad8\u901f\u5316\u300d\u306f\u3001\u51e6\u7406\u3084\u901a\u4fe1\u3092\u5b9f\u969b\u306b\u901f\u304f\u3059\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u51e6\u7406\u304c\u901f\u3044\u3068\u932f\u899a\u3055\u305b\u308b\u3088\u3046\u306a<span>\u624b\u6cd5<\/span>\u3067\u3059\u3002<\/p>\n<p><span>\u3053\u306e3\u3064\u306e\u89b3\u70b9\u3092\u8e0f\u307e\u3048\u305f\u3046\u3048\u3067\u3001\u79c1\u304c\u5b9f\u8df5\u3057\u3066\u3044\u308b\u3001\u3042\u308b\u3044\u306f\u3053\u308c\u304b\u3089\u3084\u308d\u3046\u3068\u3057\u3066\u3044\u308b\u3001\u8868\u793a\u9ad8\u901f\u5316\u306b\u7e4b\u304c\u308b\u5177\u4f53\u7684\u306a\u624b\u6cd5\u3084\u30dd\u30a4\u30f3\u30c8\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/span><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_75 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e3be7d032c8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\" style='display:none' id=\"ez-toc-cssicon-toggle-item-69e3be7d032c8\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#1-%e5%a4%96%e9%83%a8%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e5%8c%96\" >1. \u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#2-%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e6%99%82%e3%81%ae%e8%a8%98%e8%bf%b0%e9%a0%86\" >2. \u8aad\u307f\u8fbc\u307f\u6642\u306e\u8a18\u8ff0\u9806<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#3-defer%e5%b1%9e%e6%80%a7%e3%83%bbasync%e5%b1%9e%e6%80%a7%e3%81%ae%e4%bb%98%e4%b8%8e\" >3. defer\u5c5e\u6027\u30fbasync\u5c5e\u6027\u306e\u4ed8\u4e0e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#4-css%e3%81%ae%e9%9d%9e%e5%90%8c%e6%9c%9f%e5%8c%96\" >4. CSS\u306e\u975e\u540c\u671f\u5316<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#5-%e5%a4%96%e9%83%a8%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e7%b5%90%e5%90%88\" >5. \u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u306e\u7d50\u5408<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#6-http2%e9%80%9a%e4%bf%a1%e3%81%ae%e6%b4%bb%e7%94%a8\" >6. HTTP\/2\u901a\u4fe1\u306e\u6d3b\u7528<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#7-%e5%a4%96%e9%83%a8%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e5%88%a9%e7%94%a8\" >7. \u5916\u90e8\u30b5\u30fc\u30d0\u306e\u5229\u7528<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#8-css%e3%81%aeimport%e3%81%ae%e4%b8%8d%e4%bd%bf%e7%94%a8\" >8. CSS\u306e@import\u306e\u4e0d\u4f7f\u7528<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#9-css%e3%81%ae%e3%82%bb%e3%83%ac%e3%82%af%e3%82%bf%e3%81%ae%e7%b0%a1%e7%b4%a0%e5%8c%96\" >9. CSS\u306e\u30bb\u30ec\u30af\u30bf\u306e\u7c21\u7d20\u5316<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#10-%e4%b8%8d%e8%a6%81%e3%81%aa%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e5%89%8a%e9%99%a4\" >10. \u4e0d\u8981\u306a\u30b3\u30fc\u30c9\u306e\u524a\u9664<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#11-%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%ae%e6%94%b9%e8%89%af%e3%83%bb%e8%87%aa%e4%bd%9c\" >11. \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u6539\u826f\u30fb\u81ea\u4f5c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#12-minify%e5%8c%96\" >12. Minify\u5316<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#13-css%e3%81%ae%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%83%8f%e3%83%b3%e3%83%89%e3%81%ae%e4%bd%bf%e7%94%a8\" >13. CSS\u306e\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u306e\u4f7f\u7528<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#14-dom%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e5%9b%9e%e6%95%b0%e3%81%ae%e5%89%8a%e6%b8%9b\" >14. DOM\u30a2\u30af\u30bb\u30b9\u56de\u6570\u306e\u524a\u6e1b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#15-%e7%94%bb%e5%83%8f%e3%81%ae%e5%9c%a7%e7%b8%ae\" >15. \u753b\u50cf\u306e\u5727\u7e2e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#16-%e3%82%a4%e3%83%b3%e3%83%a9%e3%82%a4%e3%83%b3%e7%94%bb%e5%83%8f%e5%8c%96\" >16. \u30a4\u30f3\u30e9\u30a4\u30f3\u753b\u50cf\u5316<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#17-%e7%94%bb%e5%83%8f%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%81%85%e5%bb%b6\" >17. \u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u9045\u5ef6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#18-%e3%83%ad%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e8%a1%a8%e7%a4%ba\" >18. \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u8868\u793a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/baigie.me\/officialblog\/2019\/11\/26\/high-speed-frontend\/#%e3%81%95%e3%81%84%e3%81%94%e3%81%ab\" >\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-%e5%a4%96%e9%83%a8%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e5%8c%96\"><\/span>1. \u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CSS\u3084JavaScript\u306e\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u7ba1\u7406\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306a\u3069\u306e\u9762\u304b\u3089\u5e83\u304f\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u300c\u901a\u4fe1\u306e\u9ad8\u901f\u5316\u300d\u3068\u3044\u3046\u89b3\u70b9\u3067\u3082\u6709\u52b9\u3067\u3059\u3002<\/p>\n<p>\u4e00\u822c\u7684\u306b\u3001\u5909\u66f4\u306e\u53ef\u80fd\u6027\u304c\u9ad8\u3044HTML\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u305b\u306a\u3044\u3053\u3068\u306e\u65b9\u304c\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u5834\u5408\u306bCSS\u3084JavaScript\u3092HTML\u306b\u30a4\u30f3\u30e9\u30a4\u30f3\u3067\u76f4\u66f8\u304d\u3057\u3066\u3044\u308b\u3068\u3001\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3073\u306bHTML\u3068\u4e00\u7dd2\u306b\u3053\u308c\u3089\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3082\u518d\u8aad\u307f\u8fbc\u307f\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u305d\u306e\u5206\u3060\u3051HTML\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304f\u306a\u308a\u3001\u901a\u4fe1\u91cf\u304c\u5897\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3001CSS\u3084JavaScript\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5916\u90e8\u5316\u3057\u3001\u305d\u308c\u3089\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u5316\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u3051\u3070\u3001\u30ea\u30ed\u30fc\u30c9\u6642\u306e\u901a\u4fe1\u91cf\u304c\u305d\u306e\u5206\u524a\u6e1b\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3092\u60f3\u5b9a\u3059\u308b\u3068\u3001\u57fa\u672c\u7684\u306b\u306f\u3001CSS\u3084JavaScript\u306f\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316\u3057\u305f\u304a\u3044\u305f\u65b9\u304c\u3001\u8868\u793a\u306e\u9ad8\u901f\u5316\u306b\u306f\u7e4b\u304c\u308a\u3084\u3059\u3044\u3068\u3044\u3046\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316\u304c\u3001\u5fc5\u305a\u8868\u793a\u9ad8\u901f\u5316\u306b\u7e4b\u304c\u308b\u3068\u3044\u3046\u308f\u3051\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u304cweb\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u6642\u3001HTML\u30b3\u30fc\u30c9\u3092\u4e0a\u304b\u3089\u9806\u306b\u6587\u6cd5\u306b\u5247\u3063\u3066\u3044\u308b\u304b\u30c1\u30a7\u30c3\u30af\u3057\u306a\u304c\u3089\u89e3\u6790\u3059\u308b\u300cHTML\u30d1\u30fc\u30b9\u300d\u3068\u3044\u3046\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002\u3053\u306e\u89e3\u6790\u51e6\u7406\u306f\u3001<code>&lt;script&gt;<\/code>\u30bf\u30b0\u306a\u3069\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u7b87\u6240\u306b\u5230\u9054\u3059\u308b\u3068\u3001\u89e3\u6790\u3092\u4e00\u65e6\u505c\u6b62\u3057\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u8a18\u8ff0\u3055\u308c\u305f\u51e6\u7406\u306e\u5b9f\u884c\u3092\u512a\u5148\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u51e6\u7406\u306e\u6d41\u308c\u304c\u3042\u308b\u305f\u3081\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u3068\u3001\u305d\u308c\u3092\u8aad\u307f\u8fbc\u307f\u3001\u51e6\u7406\u3059\u308b\u6642\u9593\u306e\u5206\u3060\u3051\u3001HTML\u306b\u66f8\u304b\u308c\u305f\u60c5\u5831\u306e\u8868\u793a\u304c\u5f8c\u308d\u5012\u3057\u306b\u306a\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u521d\u56de\u8aad\u307f\u8fbc\u307f\u6642\u306a\u3069\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u52b9\u304b\u306a\u3044\u6642\u306b\u306f\u3001CSS\u3084JavaScript\u3092\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316\u3057\u305f\u65b9\u304c\u8868\u793a\u304c\u9045\u308c\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3082\u8d77\u3053\u308a\u3048\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u521d\u56de\u8a2a\u554f\u8005\u304c\u591a\u3044\u30db\u30fc\u30e0\u306b\u91cd\u3044\u51e6\u7406\u3092\u4ed5\u8fbc\u307f\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316\u3088\u308a\u3082\u3001\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\u306e\u7bc4\u56f2\u3067\u7528\u3044\u3089\u308c\u308bCSS\u3084JavaScript\u3060\u3051<code>&lt;head&gt;<\/code>\u5185\u306b\u30a4\u30f3\u30e9\u30a4\u30f3\u3067\u8a18\u8ff0\u3057\u305f\u65b9\u304c\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u306e\u901a\u4fe1\u3092\u631f\u307e\u305a\u306b\u8868\u793a\u304c\u59cb\u307e\u308b\u5206\u3001\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\u306e\u8868\u793a\u304c\u901f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u904b\u7528\u9762\u304b\u3089\u898b\u3066\u3082CSS\u3084JavaScript\u306f\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u5316\u3055\u308c\u3066\u3044\u308b\u65b9\u304c\u57fa\u672c\u7684\u306b\u306f\u6709\u5229\u3067\u3059\u304c\u3001\u90e8\u5206\u7684\u306b\u9ad8\u901f\u5316\u3092\u56f3\u308a\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3057\u3066\u3044\u305f\u51e6\u7406\u3092\u3042\u3048\u3066\u30a4\u30f3\u30e9\u30a4\u30f3\u306b\u8a18\u8ff0\u3059\u308b\u3001\u3068\u3044\u3046\u5224\u65ad\u304c\u306a\u3055\u308c\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2-%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e6%99%82%e3%81%ae%e8%a8%98%e8%bf%b0%e9%a0%86\"><\/span>2. \u8aad\u307f\u8fbc\u307f\u6642\u306e\u8a18\u8ff0\u9806<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u8868\u793a\u306e\u901f\u3055\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u4f53\u611f\u3057\u3066\u3082\u3089\u3046\u305f\u3081\u306b\u306f\u3001<code>&lt;head&gt;<\/code>\u5185\u3067CSS\u3084JavaScript\u306e\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u3080\u6642\u306e\u8a18\u8ff0\u9806\u306b\u3082\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u5148\u306b<code>&lt;script&gt;<\/code>\u30bf\u30b0\u3067JavaScript\u30d5\u30a1\u30a4\u30eb\u3001\u305d\u306e\u4e0b\u306e\u884c\u306b<code>&lt;link&gt;<\/code>\u30bf\u30b0\u3067CSS\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306a\u9806\u756a\u3067\u8a18\u8ff0\u3059\u308b\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u3068\u3057\u3066\u306f\u3001JavaScript\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u306b\u5230\u9054\u3057\u305f\u6642\u70b9\u3067HTML\u30d1\u30fc\u30b9\u3092\u4e00\u65e6\u505c\u6b62\u3057\u3001JavaScript\u306e\u89e3\u6790\u3001\u3042\u308b\u3044\u306f\u51e6\u7406\u304c\u7d42\u308f\u3063\u305f\u5f8c\u306b\u3001CSS\u3092\u8aad\u307f\u8fbc\u307f\u3001\u89e3\u6790\u3057\u3001\u9069\u7528\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001CSS\u306e\u9069\u5fdc\u307e\u3067\u306b\u30bf\u30a4\u30e0\u30e9\u30b0\u304c\u751f\u3058\u3001\u7d20\u306eHTML\u8981\u7d20\u304c\u4e00\u77ac\u8868\u793a\u3055\u308c\u305f\u308a\u3059\u308b\u306a\u3069\u3001\u30c7\u30b6\u30a4\u30ca\u30fc\u304c\u610f\u56f3\u3057\u305f\u30da\u30fc\u30b8\u306e\u8868\u793a\u304c\u9045\u5ef6\u3059\u308b\u53ef\u80fd\u6027\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u3001CSS\u2192JavaScript\u306e\u9806\u5e8f\u3067\u8a18\u8ff0\u3057\u307e\u3059\u3002\u5f8c\u8ff0\u3059\u308b\u3088\u3046\u306b\u8aad\u307f\u8fbc\u307f\u3084\u51e6\u7406\u306e\u5b9f\u884c\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u304d\u308b\u5c5e\u6027\u3082\u5b58\u5728\u3059\u308b\u305f\u3081\u3001\u3053\u306e\u8a18\u8ff0\u9806\u3092\u5b88\u308b\u306e\u304c\u5fc5\u9808\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u7279\u306b\u610f\u56f3\u304c\u7121\u3051\u308c\u3070\u3001CSS\u2192JavaScript\u306e\u9806\u756a\u3067\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u3057\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"3-defer%e5%b1%9e%e6%80%a7%e3%83%bbasync%e5%b1%9e%e6%80%a7%e3%81%ae%e4%bb%98%e4%b8%8e\"><\/span>3. defer\u5c5e\u6027\u30fbasync\u5c5e\u6027\u306e\u4ed8\u4e0e<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>HTML5\u3067\u306f\u300cdefer\u300d\u3084\u300casync\u300d\u3068\u3044\u3046\u5c5e\u6027\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001<code>&lt;script&gt;<\/code>\u30bf\u30b0\u306bdefer\u3092\u4ed8\u4e0e\u3057\u3066\u8a18\u8ff0\u3059\u308c\u3070\u3001JavaScript\u306e\u8aad\u307f\u8fbc\u307f\u3092HTML\u30d1\u30fc\u30b9\u3092\u6b62\u3081\u305a\u306b\u884c\u3044\u3001\u3055\u3089\u306b\u8aad\u307f\u8fbc\u3093\u3060JavaScript\u306e\u5b9f\u884c\u3092\u5f8c\u56de\u3057\u306b\u3057\u3001\u8868\u793a\u3092\u901f\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><code>&lt;head&gt;<\/code>\u5185\u306b<code>&lt;script&gt;<\/code>\u30bf\u30b0\u3092\u8a18\u8ff0\u3059\u308b\u3068\u3001\u300cDOM\u8981\u7d20\u304c\u5b58\u5728\u3057\u306a\u3044\u300d\u3068\u3044\u3063\u305f\u30a8\u30e9\u30fc\u304c\u3057\u3070\u3057\u3070\u8d77\u3053\u308a\u307e\u3059\u3002\u3053\u308c\u306fHTML\u30d1\u30fc\u30b9\u304c\u5b8c\u4e86\u3059\u308b\u524d\u306bJavaScript\u3092\u5b9f\u884c\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u3067\u3001DOM\u8981\u7d20\u3092\u898b\u3064\u3051\u3089\u308c\u306a\u304f\u306a\u308b\u73fe\u8c61\u3067\u3042\u308a\u3001HTML\u3084JavaScript\u306e\u69cb\u6587\u304c\u6b63\u3057\u304f\u3066\u3082\u8d77\u3053\u308a\u3048\u307e\u3059\u3002\u3057\u304b\u3057\u3053\u308c\u3082\u3001defer\u5c5e\u6027\u3092\u4ed8\u4e0e\u3059\u308c\u3070\u56de\u907f\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001defer\u3082async\u3082HTML\u30d1\u30fc\u30b9\u3092\u6b62\u3081\u305a\u306bJavaScript\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u884c\u3048\u308b\u70b9\u3067\u306f\u540c\u3058\u3067\u3059\u304c\u3001defer\u304c\u3001HTML\u30d1\u30fc\u30b9\u304c\u7d42\u308f\u308b\u307e\u3067JavaScript\u3092\u5b9f\u884c\u3057\u306a\u3044\u306e\u306b\u5bfe\u3057\u3066\u3001async\u306f\u3001JavaScript\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u7d42\u308f\u308a\u6b21\u7b2c\u3001JavaScript\u3092\u5b9f\u884c\u3057\u3001\u305d\u306e\u9593\u306fHTML\u30d1\u30fc\u30b9\u304c\u6b62\u307e\u308a\u307e\u3059\u3002<\/p>\n<p>\u8868\u793a\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u3088\u3046\u306aJavaScript\u3092\u8aad\u307f\u8fbc\u3080\u5834\u5408\u306b\u306f\u3001async\u3092\u7528\u3044\u305f\u65b9\u304c\u8868\u793a\u304c\u901f\u304f\u306a\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3069\u3061\u3089\u304b\u3068\u3044\u3048\u3070\u3001defer\u3092\u7528\u3044\u305f\u65b9\u304c\u8868\u793a\u304c\u901f\u304f\u306a\u308b\u3053\u3068\u306e\u65b9\u304c\u591a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4-css%e3%81%ae%e9%9d%9e%e5%90%8c%e6%9c%9f%e5%8c%96\"><\/span>4. CSS\u306e\u975e\u540c\u671f\u5316<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>JavaScript\u306b\u304a\u3051\u308bdefer\u5c5e\u6027\u306e\u3088\u3046\u306a\u3082\u306e\u306f\u3001CSS\u3067\u306f\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u5225\u65b9\u6cd5\u3067\u3001CSS\u3082\u975e\u540c\u671f\u306b\u3057\u3001HTML\u30d1\u30fc\u30b9\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6b63\u653b\u6cd5\u3067\u884c\u3051\u3070\u3001<code>&lt;link&gt;<\/code>\u30bf\u30b0\u306e\u5c5e\u6027<code>rel=\"stylesheet\"<\/code>\u306e\u5024\u3092<code>\"preload\"<\/code>\u306b\u3059\u308c\u3070CSS\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u3092\u975e\u540c\u671f\u306b\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30b5\u30dd\u30fc\u30c8\u72b6\u6cc1\u304c\u30d0\u30e9\u30d0\u30e9\u3067\u3042\u308a\u3001\u5b8c\u5168\u306b\u306f\u5bfe\u5fdc\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u63a1\u7528\u3057\u305f\u3044\u306e\u304c\u3001<code>&lt;link&gt;<\/code>\u30bf\u30b0\u306e<code>media<\/code>\u5c5e\u6027\u3092\u66f8\u304d\u63db\u3048\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<ul><\/ul>\n<pre><code class=\"language-html\">&lt;link rel=\"stylesheet\" href=\"\/path\/to\/my.css\" media=\"print\" onload=\"this.media='all'\"&gt;<\/code><\/pre>\n<ul>\n<li>\uff08\u53c2\u8003\uff09The Simplest Way to Load CSS Asynchronously<br \/><a href=\"https:\/\/www.filamentgroup.com\/lab\/load-css-simpler\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.filamentgroup.com\/lab\/load-css-simpler\/<\/a><\/li>\n<\/ul>\n<p>\u3053\u306e\u65b9\u6cd5\u3060\u3068\u3001<code>media<\/code>\u5c5e\u6027\u306b<code>\"print\"<\/code>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3059\u308b\u3068\u3001\u5370\u5237\u7528\u306e\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3068\u89e3\u91c8\u3055\u308c\u3001HTML\u30d1\u30fc\u30b9\u5b8c\u4e86\u5f8c\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u308c\u3092<code>onload<\/code>\u306b\u8a18\u8ff0\u3057\u305fJavaScript\u306b\u3088\u3063\u3066\u3001\u8aad\u307f\u8fbc\u307f\u5f8c\u306b<code>media<\/code>\u5c5e\u6027\u3092<code>\"all\"<\/code>\u306b\u5909\u66f4\u3059\u308b\u306e\u3067\u3059\u3002\u3053\u3046\u3059\u308b\u3053\u3068\u3067HTML\u30d1\u30fc\u30b9\u5b8c\u4e86\u5f8c\u306bCSS\u306e\u8aad\u307f\u8fbc\u307f\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\u306e\u8868\u793a\u306b\u95a2\u4e0e\u3057\u306a\u3044CSS\u306e\u30c7\u30fc\u30bf\u91cf\u304c\u5927\u304d\u3044\u5834\u5408\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u8868\u793a\u901f\u5ea6\u3092\u901f\u3081\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"5-%e5%a4%96%e9%83%a8%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e7%b5%90%e5%90%88\"><\/span>5. \u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u306e\u7d50\u5408<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3084\u30c1\u30fc\u30e0\u4f5c\u696d\u306e\u89b3\u70b9\u304b\u3089\u3001CSS\u30d5\u30a1\u30a4\u30eb\u3084JavaScript\u30d5\u30a1\u30a4\u30eb\u3092\u8907\u6570\u306b\u5206\u5272\u3057\u305f\u304f\u306a\u308b\u6642\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002\u3057\u304b\u3057\u3001<code>&lt;head&gt;<\/code>\u5185\u3067\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u6570\u304c\u5897\u3048\u308b\u307b\u3069\u3001\u7d50\u679c\u7684\u306b\u30da\u30fc\u30b8\u306e\u8868\u793a\u306f\u9045\u308c\u3066\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u540c\u3058\u306a\u3089\u5909\u308f\u3089\u306a\u3044\u306e\u3067\u306f\uff1f\u3068\u601d\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u8aad\u307f\u8fbc\u3080\u30d5\u30a1\u30a4\u30eb1\u3064\u306b\u3064\u304d\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u304c1\u56de\u5897\u3048\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u30d5\u30a1\u30a4\u30eb\u6570\u304c\u591a\u3044\u307b\u3069\u3001\u8868\u793a\u307e\u3067\u306e\u6642\u9593\u304c\u9045\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070<code>&lt;link&gt;<\/code>\u30bf\u30b0\u3067\u5916\u90e8CSS\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u8a18\u8ff0\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u3057\u3066\u300c\u3053\u306eCSS\u30d5\u30a1\u30a4\u30eb\u3092\u304f\u3060\u3055\u3044\u300d\u3068\u3044\u3046\u8981\u6c42\uff08HTTP\u30ea\u30af\u30a8\u30b9\u30c8\uff09\u3092\u6295\u3052\u308b\u3053\u3068\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306f\u3053\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u3001\u8a72\u5f53\u30d5\u30a1\u30a4\u30eb\u3092\u8fd4\u3059\uff08HTTP\u30ec\u30b9\u30dd\u30f3\u30b9\uff09\u3068\u3044\u3046\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u73fe\u5728\u5e83\u304f\u666e\u53ca\u3057\u3066\u3044\u308b\u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308bHTTP\/1.1\u3067\u306f\u3001\u3053\u306e\u300cHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066HTTP\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3059\u300d\u3068\u3044\u3046\u51e6\u7406\u3092\u30011\u3064\u305a\u3064\u3057\u304b\u634c\u3051\u305a\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u56de\u6570\u304c\u5897\u3048\u308b\u307b\u3069\u3001\u901a\u4fe1\u306b\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u8907\u6570\u306b\u5206\u5272\u3057\u3066\u3001\u8907\u6570\u56de\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u308b\u3088\u308a\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u7d50\u5408\u3057\u3001\u5c11\u306a\u3044\u56de\u6570\u3067HTTP\u30ea\u30af\u30a8\u30b9\u30c8\/HTTP\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u3057\u305f\u65b9\u304c\u3001\u7d50\u679c\u7684\u306b\u306f\u8868\u793a\u901f\u5ea6\u304c\u6539\u5584\u3059\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"6-http2%e9%80%9a%e4%bf%a1%e3%81%ae%e6%b4%bb%e7%94%a8\"><\/span>6. HTTP\/2\u901a\u4fe1\u306e\u6d3b\u7528<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5148\u307b\u3069\u306e\u8aac\u660e\u3067\u306f\u3001HTTP\/1.1\u3092\u524d\u63d0\u3068\u3057\u3066\u3001\u300c\u540c\u3058\u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u3059\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u9806\u756a\u306b1\u3064\u305a\u3064\u3057\u304b\u634c\u3051\u306a\u3044\u300d\u3068\u8aac\u660e\u3057\u307e\u3057\u305f\u304c\u3001\u3053\u308c\u30921\u3064\u305a\u3064\u3067\u306f\u306a\u304f\u540c\u6642\u4e26\u884c\u3067\u634c\u304f\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u901f\u304f\u306a\u308b\u306e\u3067\u306f\uff1f\u3068\u8003\u3048\u305f\u65b9\u3082\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u304c\u53ef\u80fd\u306a\u306e\u304cHTTP\/2\u3067\u3059\u3002<\/p>\n<p>HTTP\/2\u3067\u306f\u30de\u30eb\u30c1\u30bf\u30b9\u30af\u3067\u30c7\u30fc\u30bf\u901a\u4fe1\u304c\u884c\u3048\u308b\u305f\u3081\u3001HTTP\/1.1\u306e\u6642\u306e\u3088\u3046\u306bCSS\u3084JS\u3092\u7d50\u5408\u3057\u3066\u30b5\u30a4\u30ba\u306e\u5927\u304d\u306a\u30d5\u30a1\u30a4\u30eb\u306b\u307e\u3068\u3081\u308b\u306e\u3068\u306f\u9006\u306b\u3001\u3080\u3057\u308d\u4e00\u3064\u4e00\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u5c0f\u3055\u304f\u3057\u3066\u7d30\u5206\u5316\u3057\u305f\u65b9\u304c\u901a\u4fe1\u306e\u9ad8\u901f\u5316\u306b\u5a01\u529b\u3092\u767a\u63ee\u3057\u307e\u3059\u3002<\/p>\n<p>HTTP\/2\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u3068\u30b5\u30fc\u30d0\u304c\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u306b\u3064\u3044\u3066\u306f\u30e2\u30c0\u30f3\u30d6\u30e9\u30a6\u30b6\u3067\u3042\u308c\u3070\u307b\u3068\u3093\u3069\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u4e00\u65b9\u3001\u30b5\u30fc\u30d0\u306b\u3064\u3044\u3066\u306f\u3001\u73fe\u72b6\u5fc5\u305a\u3057\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u305d\u3082\u305d\u3082\u901a\u4fe1\u91cf\u304c\u5c11\u306a\u3044web\u30b5\u30a4\u30c8\u3067\u306f\u3001HTTP\/1.1\u304b\u3089HTTP\/2\u306b\u5909\u3048\u308b\u3053\u3068\u306e\u52b9\u679c\u306f\u3042\u307e\u308a\u5b9f\u611f\u3067\u304d\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u305f\u3060\u3001\u3053\u3046\u3044\u3063\u305f\u8af8\u6761\u4ef6\u3092\u30af\u30ea\u30a2\u3067\u304d\u308b\u3088\u3046\u3067\u3042\u308c\u3070\u3001HTTP\/2\u306e\u901a\u4fe1\u3092\u6d3b\u7528\u3057\u3066\u3082\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"7-%e5%a4%96%e9%83%a8%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e5%88%a9%e7%94%a8\"><\/span>7. \u5916\u90e8\u30b5\u30fc\u30d0\u306e\u5229\u7528<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u300cHTTP\/1.1\u3060\u3068\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u30921\u3064\u305a\u3064\u3057\u304b\u634c\u3051\u306a\u3044\u300d\u3068\u8aac\u660e\u3057\u307e\u3057\u305f\u304c\u3001\u3053\u308c\u306f1\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u3057\u30661\u3064\u305a\u3064\u3057\u304b\u634c\u3051\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3042\u3063\u3066\u3001\u5225\u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u3059\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u3042\u308c\u3070\u3001\u6700\u59276\u3064\u307e\u3067\u634c\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001A\u3068\u3044\u3046\u30b5\u30fc\u30d0\u30fc\u306b2\u3064\u306eCSS\u30d5\u30a1\u30a4\u30eb\u304c\u7f6e\u3044\u3066\u3042\u308b\u5834\u5408\u3001\u3053\u308c\u3089\u306f1\u3064\u305a\u3064\u9806\u756a\u306b\u8aad\u307f\u8fbc\u3080\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002\u4e00\u65b9\u30011\u3064\u306eCSS\u30d5\u30a1\u30a4\u30eb\u3092\u5225\u306eB\u3068\u3044\u3046\u30b5\u30fc\u30d0\u30fc\u306b\u8a2d\u7f6e\u3059\u308c\u3070\u3001\u3053\u308c\u30892\u3064\u306eCSS\u3092\u4e26\u5217\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306eB\u3068\u3044\u3046\u30b5\u30fc\u30d0\u30fc\u306e\u5f79\u5272\u3092\u62c5\u3046\u306e\u304cCDN\uff08Content Delivery Network\uff09\u3067\u3059\u3002<\/p>\n<p>CDN\u306f\u4e16\u754c\u4e2d\u306b\u8a2d\u7f6e\u3055\u308c\u305f\u30b5\u30fc\u30d0\u30fc\u306bCSS\u3084JavaScript\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u305f\u3081\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u4e26\u5217\u51e6\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30da\u30fc\u30b8\u306e\u8a2a\u554f\u8005\u306b\u3068\u3063\u3066\u7269\u7406\u7684\u306b\u4e00\u756a\u8fd1\u3044\u8ddd\u96e2\u306b\u3042\u308b\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u81ea\u52d5\u3067\u53d6\u5f97\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001\u81ea\u30b5\u30fc\u30d0\u30fc\u306b\u7f6e\u304f\u3088\u308a\u3082\u901a\u4fe1\u304c\u901f\u304f\u306a\u308a\u3001\u8868\u793a\u306e\u9ad8\u901f\u5316\u304c\u72d9\u3048\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001CDN\u306f\u57fa\u672c\u7684\u306b\u6709\u6599\u306e\u305f\u3081\u3001\u30b3\u30b9\u30c8\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u8003\u616e\u3057\u305f\u4e0a\u3067\u4f7f\u7528\u3092\u5224\u65ad\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"8-css%e3%81%aeimport%e3%81%ae%e4%b8%8d%e4%bd%bf%e7%94%a8\"><\/span>8. CSS\u306e@import\u306e\u4e0d\u4f7f\u7528<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>@import\u3092\u7528\u3044\u3066CSS\u3092\u8aad\u307f\u8fbc\u3080\u3068\u3001\u591a\u304f\u306e\u5834\u5408\u3067\u901a\u4fe1\u901f\u5ea6\u304c\u9045\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u4f8b\u3048\u3070\u3001Google Fonts\u306a\u3069\u306e\u30a6\u30a7\u30d6\u30d5\u30a9\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u304d\u306b\u8d77\u308a\u304c\u3061\u3067\u3059\u3002\u5916\u90e8CSS\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u304b\u3089\u3001@import\u3067Google Fonts\u306eCSS\u3092\u8aad\u307f\u8fbc\u3080\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u306fCSS\u306e\u8aad\u307f\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u305f\u5f8c\u306b\u3001Google Fonts\u306eCSS\u3092\u9806\u756a\u306b\u8aad\u307f\u8fbc\u3093\u3067\u3044\u304f\u305f\u3081\u3001\u305d\u306e\u7d50\u679c\u3001\u8868\u793a\u304c\u9045\u304f\u306a\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001CSS\u30d5\u30a1\u30a4\u30eb\u5185\u304b\u3089@import\u3067\u8aad\u307f\u8fbc\u3080\u306e\u3067\u306f\u306a\u304f\u3001HTML\u306e<code>&lt;head&gt;<\/code>\u30bf\u30b0\u5185\u306b<code>&lt;link&gt;<\/code>\u30bf\u30b0\u3067\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001Google Fonts\u306eCSS\u306fGoogle\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u7f6e\u3044\u3066\u3042\u308a\u300c\u5225\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u300d\u306b\u306a\u308b\u305f\u3081\u3001<code>&lt;link&gt;<\/code>\u30bf\u30b0\u3067\u8aad\u307f\u8fbc\u3081\u3070\u3001\u4e26\u5217\u3057\u3066\u3053\u308c\u30892\u3064\u306eCSS\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u53ef\u80fd\u3068\u306a\u308a\u3001\u8aad\u307f\u8fbc\u307f\u3084\u8868\u793a\u306e\u901f\u5ea6\u3092\u6539\u5584\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"9-css%e3%81%ae%e3%82%bb%e3%83%ac%e3%82%af%e3%82%bf%e3%81%ae%e7%b0%a1%e7%b4%a0%e5%8c%96\"><\/span>9. CSS\u306e\u30bb\u30ec\u30af\u30bf\u306e\u7c21\u7d20\u5316<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CSS\u306e<code>.parent &gt; .child<\/code>\u306e\u3088\u3046\u306a\u30bb\u30ec\u30af\u30bf\u306b\u3064\u3044\u3066\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u304c\u89e3\u6790\u6642\u306b\u53f3\u304b\u3089\u5de6\u3078\u30de\u30c3\u30c1\u30f3\u30b0\u3057\u3066\u3044\u304f\u305f\u3081\u3001\u3053\u308c\u3089\u306e\u30bb\u30ec\u30af\u30bf\u306e\u6570\u304c\u591a\u3044\u307b\u3069\u3001CSS\u9069\u7528\u307e\u3067\u306e\u6642\u9593\u304c\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u30de\u30c3\u30c1\u30f3\u30b0\u51e6\u7406\u306e\u6d41\u308c\u3068\u3057\u3066\u306f\u3001\u307e\u305a<code>.child<\/code>\u3068\u3044\u3046\u30af\u30e9\u30b9\u3092\u6301\u3064\u8981\u7d20\u3092\u63a2\u3057\u3001\u305d\u306e\u4e2d\u304b\u3089\u89aa\u8981\u7d20\u304c<code>.parent<\/code>\u3067\u3042\u308b\u8981\u7d20\u306b\u7d5e\u308a\u8fbc\u307f\u307e\u3059\u3002\u3064\u307e\u308a\u3001<code>.parent &gt;.child<\/code>\u3088\u308a\u3082<code>.child<\/code>\u3060\u3051\u306e\u6307\u5b9a\u3092\u3057\u305f\u65b9\u304c\u3001\u30de\u30c3\u30c1\u30f3\u30b0\u306e\u56de\u6570\u304c\u6e1b\u308a\u3001\u51e6\u7406\u304c\u65e9\u304f\u7d42\u308f\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u3068\u3001\u30bb\u30ec\u30af\u30bf\u3092\u8907\u6570\u6307\u5b9a\u3059\u308b\u306e\u306f\u306a\u308b\u3079\u304f\u907f\u3051\u308b\u3079\u304d\u3067\u3059\u3002CSS\u3092\u66f8\u304f\u3068\u304d\u306f\u5b50\u5b6b\u69cb\u9020\u306b\u305b\u305a\u3001\u30b7\u30f3\u30d7\u30eb\u306b\u30af\u30e9\u30b9\u540d\u4e00\u3064\u3067\u6307\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002\u4f8b\u3048\u3070<code>&lt;ul&gt;<\/code>\u306e\u5b50\u8981\u7d20<code>&lt;li&gt;<\/code>\u306f\u3001<code>ul li<\/code>\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u304c\u3061\u3067\u3059\u304c\u3001<code>&lt;li&gt;<\/code>\u306b\u30af\u30e9\u30b9\u3092\u4ed8\u4e0e\u3057\u3001\u305d\u306e\u30af\u30e9\u30b9\u306b\u5bfe\u3057\u3066\u30b9\u30bf\u30a4\u30eb\u3092\u8a18\u8ff0\u3057\u305f\u65b9\u304c\u3001\u8868\u793a\u306e\u9ad8\u901f\u5316\u306b\u7e4b\u304c\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"10-%e4%b8%8d%e8%a6%81%e3%81%aa%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e5%89%8a%e9%99%a4\"><\/span>10. \u4e0d\u8981\u306a\u30b3\u30fc\u30c9\u306e\u524a\u9664<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u8a18\u8ff0\u3055\u308c\u305f\u6587\u5b57\u6570\u304c\u591a\u304f\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304f\u306a\u308b\u307b\u3069\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u304b\u304b\u308b\u6642\u9593\u3068\u30d6\u30e9\u30a6\u30b6\u304c\u89e3\u91c8\u3059\u308b\u6642\u9593\u304c\u9577\u304f\u306a\u308b\u305f\u3081\u3001\u30da\u30fc\u30b8\u8868\u793a\u901f\u5ea6\u306f\u9045\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u8868\u793a\u9ad8\u901f\u5316\u306e\u305f\u3081\u306b\u306f\u3001\u4e0d\u8981\u306a\u8a18\u8ff0\u306f\u3067\u304d\u308b\u3060\u3051\u524a\u9664\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u8efd\u91cf\u5316\u3059\u308b\u306e\u304c\u9244\u5247\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u89b3\u70b9\u304b\u3089\u3001\u958b\u767a\u4e2d\u306b\u751f\u307e\u308c\u305f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u8ff0\u306f\u3001\u7d0d\u54c1\u30fb\u516c\u958b\u6642\u306b\u306f\u524a\u9664\u3057\u3066\u304a\u304f\u3079\u304d\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u6b8b\u3059\u5fc5\u8981\u306e\u306a\u3044\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8<\/li>\n<li>\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u30b3\u30fc\u30c9<\/li>\n<\/ul>\n<p>\u5f8c\u8ff0\u3059\u308bMinify\u5316\u3067\u3001\u6a5f\u68b0\u7684\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u8efd\u91cf\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u8a18\u8ff0\u3055\u308c\u305f\u30b3\u30fc\u30c9\u304c\u4e0d\u8981\u304b\u3069\u3046\u304b\u307e\u3067\u306f\u5224\u65ad\u3067\u304d\u307e\u305b\u3093\u3002\u307e\u305fMinify\u5316\u3068\u6bd4\u3079\u3066\u3082\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u5927\u5e45\u306b\u524a\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u305f\u3081\u3001\u5fc5\u305a\u884c\u3044\u305f\u3044\u30c1\u30a7\u30c3\u30af\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"11-%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%ae%e6%94%b9%e8%89%af%e3%83%bb%e8%87%aa%e4%bd%9c\"><\/span>11. \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u6539\u826f\u30fb\u81ea\u4f5c<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>JavaScript\u3092\u4f7f\u3063\u305f\u9ad8\u5ea6\u306a\u51e6\u7406\u304c\u624b\u8efd\u306b\u5b9f\u884c\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\u304c\u3001\u3053\u308c\u3089\u306b\u306f\u3001\u6c4e\u7528\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u4f7f\u308f\u306a\u3044\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3084\u51e6\u7406\u3082\u591a\u304f\u76db\u308a\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30ab\u30eb\u30fc\u30bb\u30eb\u3084\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u5b9f\u73fe\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306e\u5927\u304d\u3044\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8aad\u307f\u8fbc\u307f\u3001\u305d\u306e\u30b5\u30a4\u30c8\u3067\u306f\u5fc5\u8981\u304c\u306a\u3044\u4f8b\u5916\u51e6\u7406\u306a\u3069\u3082\u5b9f\u884c\u3055\u308c\u3066\u3001\u305d\u306e\u5206\u3001\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u306e\u6642\u9593\u304c\u9045\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u76ee\u306b\u89e6\u308c\u308b\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3055\u308c\u308b\u8981\u7d20\u306b\u7d5e\u3063\u3066\u9ad8\u901f\u306b\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u5408\u3082\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306f\u90fd\u5408\u304c\u60aa\u304f\u306a\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u5148\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8aad\u307f\u8fbc\u3093\u3067\u304b\u3089JavaScript\u306e\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001\u8868\u793a\u306e\u9069\u5fdc\u307e\u3067\u306b\u30bf\u30a4\u30e0\u30e9\u30b0\u304c\u767a\u751f\u3057\u304c\u3061\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u30dc\u30c3\u30af\u30b9\u306e\u9ad8\u3055\u3092JavaScript\u3067\u51e6\u7406\u3059\u308b\u5834\u5408\u3001\u8868\u793a\u3055\u308c\u3066\u5c11\u3057\u7d4c\u3063\u3066\u304b\u3089\u6b63\u3057\u3044\u9ad8\u3055\u306b\u5909\u66f4\u3055\u308c\u308b\u3001\u3068\u3044\u3063\u305f\u5947\u5999\u306a\u6319\u52d5\u3092\u898b\u305b\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u8868\u793a\u306e\u9ad8\u901f\u5316\u306b\u3053\u3060\u308f\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u51e6\u7406\u306e\u9ad8\u901f\u5316\u3001\u8efd\u91cf\u5316\u306e\u4e21\u65b9\u306e\u89b3\u70b9\u304b\u3089\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u304b\u3089\u4e0d\u8981\u306a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3084\u51e6\u7406\u3092\u524a\u9664\u3059\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u6709\u52b9\u3067\u3059\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u306f\u306a\u304f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u4f5c\u3057\u305f\u65b9\u304c\u826f\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f59\u8ac7\u3067\u3059\u304c\u3001\u8fd1\u5e74\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u4f7f\u3048\u308b\u304c\u7d20\u306eJavaScript\u306f\u66f8\u3051\u306a\u3044\u3001\u3068\u3044\u3046\u30b3\u30fc\u30c0\u30fc\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u3082\u5897\u3048\u3066\u3044\u307e\u3059\u304c\u3001JavaScript\u304c\u66f8\u3051\u306a\u3044\u3068\u3001\u3053\u3046\u3044\u3063\u305f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3084\u81ea\u4f5c\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u4fbf\u5229\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308b\u304b\u3089\u3068\u3044\u3063\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u983c\u308a\u306b\u306a\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u3044\u3056\u3068\u306a\u3063\u305f\u3089\u81ea\u4f5c\u3067\u304d\u308b\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u4ed8\u3051\u3066\u304a\u304f\u3053\u3068\u304c\u5fc5\u8981\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"12-minify%e5%8c%96\"><\/span>12. Minify\u5316<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Minify\u5316\u3068\u306f\u3001CSS\u3084JavaScript\u306e\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3084\u7a7a\u767d\u30fb\u6539\u884c\u306e\u524a\u9664\u3001\u5909\u6570\u540d\u306e\u77ed\u7e2e\u5316\u306a\u3069\u3092\u3001\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u6a5f\u68b0\u7684\u306b\u884c\u3046\u3053\u3068\u3092\u8a00\u3044\u307e\u3059\u3002\u30d9\u30a4\u30b8\u3067\u306f\u30bf\u30b9\u30af\u30e9\u30f3\u30ca\u30fc\u3067CSS\u3084JavaScript\u3092Minify\u5316\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a6\u30a7\u30d6\u30b5\u30fc\u30d3\u30b9\u3067\u3082\u624b\u8efd\u306bMinify\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>JavaScript Minifier<br \/><a href=\"https:\/\/javascript-minifier.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/javascript-minifier.com\/<\/a><\/li>\n<\/ul>\n<p>Minify\u5316\u3092\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306f\u304b\u306a\u308a\u8efd\u91cf\u5316\u3067\u304d\u307e\u3059\u304c\u3001\u8efd\u91cf\u5316\u3092\u6700\u512a\u5148\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u4eba\u306b\u3068\u3063\u3066\u306f\u8aad\u307f\u306b\u304f\u3044\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u7d0d\u54c1\u5f8c\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3001\u30b9\u30ad\u30eb\u306b\u30d0\u30e9\u30c4\u30ad\u304c\u3042\u308b\u30c1\u30fc\u30e0\u3067\u306e\u904b\u7528\u304c\u60f3\u5b9a\u3055\u308c\u308b\u5834\u5408\u306a\u3069\u306b\u306f\u3001Minify\u5316\u3059\u3079\u304d\u304b\u3069\u3046\u304b\u306f\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"13-css%e3%81%ae%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%83%8f%e3%83%b3%e3%83%89%e3%81%ae%e4%bd%bf%e7%94%a8\"><\/span>13. CSS\u306e\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u306e\u4f7f\u7528<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CSS\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u8efd\u91cf\u5316\u3059\u308b\u3068\u3044\u3046\u89b3\u70b9\u3067\u306f\u3001\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u3092\u4e0a\u624b\u306b\u4f7f\u3044\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30b9\u30bf\u30a4\u30eb\u306e\u8a18\u8ff0\u3060\u3068\u3001\u300cmargin-\u300d\u306e\u90e8\u5206\u304c\u91cd\u8907\u3057\u3001\u305d\u306e\u5206\u306e\u6587\u5b57\u6570\u304c\u5897\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">.hoge {\r\n  margin-top: 10px;\r\n  margin-right: 20px;\r\n  margin-left: 30px;\r\n  margin-bottom: 40px;\r\n}<\/code><\/pre>\n<p>\u4e00\u65b9\u3067\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u300cmargin-\u300d\u30921\u3064\u306b\u307e\u3068\u3081\u3066\u7701\u7565\u3059\u308b\u3053\u3068\u3067\u6587\u5b57\u6570\u304c\u6e1b\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">.hoge {\r\n  margin: 10px 20px 30px 40px;\r\n}<\/code><\/pre>\n<p>\u975e\u5e38\u306b\u5fae\u7d30\u306a\u5f71\u97ff\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u3053\u3046\u3044\u3063\u305f\u7d30\u304b\u306a\u7a4d\u307f\u91cd\u306d\u3053\u305d\u304c\u3001\u8868\u793a\u9ad8\u901f\u5316\u306b\u5fc5\u8981\u306a\u89b3\u70b9\u3067\u3059\u3002\u7279\u306b\u7406\u7531\u304c\u306a\u3044\u9650\u308a\u3001\u5c11\u3057\u3067\u3082\u9ad8\u901f\u5316\u306b\u7e4b\u304c\u308b\u8a18\u8ff0\u3092\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u3001\u65e5\u9803\u304b\u3089\u5fc3\u304c\u3051\u3066\u304a\u304d\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"14-dom%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e5%9b%9e%e6%95%b0%e3%81%ae%e5%89%8a%e6%b8%9b\"><\/span>14. DOM\u30a2\u30af\u30bb\u30b9\u56de\u6570\u306e\u524a\u6e1b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>JavaScript\u306e\u66f8\u304d\u65b9\u3082\u3001\u30d6\u30e9\u30a6\u30b6\u51e6\u7406\u306e\u8ca0\u8377\u8efd\u6e1b\u3001\u8868\u793a\u306e\u9ad8\u901f\u5316\u306b\u7e4b\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001for\u6587\u3092\u4f7f\u7528\u3057\u3066<code>&lt;div id=\"hoge\"&gt;&lt;\/div&gt;<\/code>\u3068\u3044\u3046\u8981\u7d20\u306b<code>&lt;span class=\"fuga\"&gt;&lt;\/span&gt;<\/code>\u3092\u633f\u5165\u3059\u308b\u5834\u5408\u3002\u3053\u306e\u3068\u304d\u3001for\u304c\u7e70\u308a\u8fd4\u3055\u308c\u308b\u305f\u3073\u306b\u6bce\u56de\u633f\u5165\u51e6\u7406\u3092\u884c\u3063\u3066\u3057\u307e\u3046\u3068\u3001\u305d\u306e\u5ea6\u306b\u30d6\u30e9\u30a6\u30b6\u306f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u3084\u308a\u76f4\u3059\u305f\u3081\u3001\u51e6\u7406\u304c\u91cd\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001for\u6587\u5185\u3067\u306f\u633f\u5165\u3057\u305f\u3044\u8981\u7d20\u7fa4\u3092\u5909\u6570\u306b\u4fdd\u5b58\u3059\u308b\u3060\u3051\u306b\u3057\u3001\u633f\u5165\u51e6\u7406\u306ffor\u6587\u304c\u7d42\u308f\u3063\u305f\u5f8c\u306e\u4e00\u56de\u3060\u3051\u306b\u307e\u3068\u3081\u308c\u3070\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306e\u8ca0\u8377\u3092\u8efd\u6e1b\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-js\">let html = '';\r\nfor (let i = 0; i &lt; array.length; i++) {\r\n  hoge += '&lt;span class=\"fuga\"&gt;' + array[i] + '&lt;\/span&gt;';\r\n}\r\n$('#hoge').append(html);<\/code><\/pre>\n<p>\u4ed6\u306b\u3001\u4e0a\u8a18\u30b3\u30fc\u30c9\u4f8b\u3067\u306ffor\u6587\u306e\u7e70\u308a\u8fd4\u3057\u56de\u6570\u306e\u4e0a\u9650\u3092\u3001array.length\u3067\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u3067\u306f\u6bce\u5ea6array\u914d\u5217\u306elength\uff08\u6570\uff09\u3092\u53d6\u5f97\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u3046\u3067\u306f\u306a\u304f\u3001\u4e8b\u524d\u306b\u5909\u6570\u306b\u4fdd\u5b58\u3057\u3066\u304a\u3051\u3070\u3001\u308f\u305a\u304b\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u51e6\u7406\u306e\u8ca0\u8377\u3092\u8efd\u6e1b\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-js\">const max = array.length;\r\nfor (let i = 0; i &lt;max; i++) {\r\n  \u2026\r\n}<\/code><\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30d6\u30e9\u30a6\u30b6\u304c\u3069\u306e\u3088\u3046\u306bJavaScript\u3092\u89e3\u91c8\u3057\u3066\u5b9f\u884c\u3057\u3066\u3044\u308b\u304b\u3092\u982d\u306e\u4e2d\u3067\u60f3\u50cf\u3057\u306a\u304c\u3089\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u51e6\u7406\u304c\u5c11\u3057\u3067\u3082\u6e1b\u308b\u3088\u3046\u306a\u8a18\u8ff0\u306e\u4ed5\u65b9\u3092\u5fc3\u304c\u3051\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"15-%e7%94%bb%e5%83%8f%e3%81%ae%e5%9c%a7%e7%b8%ae\"><\/span>15. \u753b\u50cf\u306e\u5727\u7e2e<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30da\u30fc\u30b8\u306e\u8868\u793a\u901f\u5ea6\u306b\u4e00\u756a\u5f71\u97ff\u304c\u3042\u308b\u3001\u3068\u8a00\u3063\u3066\u3082\u904e\u8a00\u3067\u306f\u306a\u3044\u306e\u304c\u3001\u753b\u50cf\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3067\u3059\u3002\u753b\u50cf\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306f\u306a\u308b\u3079\u304f\u5c0f\u3055\u304f\u3057\u3066\u901a\u4fe1\u306b\u304b\u304b\u308b\u8ca0\u62c5\u3092\u6e1b\u3089\u3059\u306e\u306f\u3001\u8868\u793a\u9ad8\u901f\u5316\u306b\u304a\u3051\u308b\u6700\u91cd\u8981\u30dd\u30a4\u30f3\u30c8\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u975e\u5e38\u306b\u5927\u4e8b\u306a\u753b\u50cf\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u8efd\u91cf\u5316\u306b\u3064\u3044\u3066\u3001\u79c1\u306f\u4e3b\u306b\u6b21\u306e4\u3064\u3092\u5b9f\u8df5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u6700\u9069\u306a\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3092\u9078\u3076<\/li>\n<li>\u9069\u6b63\u306a\u89e3\u50cf\u5ea6\uff08\u30ab\u30f3\u30d0\u30b9\u30b5\u30a4\u30ba\uff09\u306b\u3059\u308b<\/li>\n<li>\u5199\u771f\u306e\u30af\u30aa\u30ea\u30c6\u30a3\u3092\u4e0b\u3052\u308b<\/li>\n<li>EXIF\u60c5\u5831\u306a\u3069\u4e0d\u8981\u306a\u60c5\u5831\u3092\u524a\u308b<\/li>\n<\/ul>\n<h3>\u6700\u9069\u306a\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3092\u9078\u3076<\/h3>\n<p>\u753b\u50cf\u5727\u7e2e\u4ee5\u524d\u306b\u3001\u6700\u9069\u306a\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3092\u9078\u629e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u753b\u50cf\u306e\u900f\u904e\u304c\u5fc5\u8981\u306a\u5834\u5408\u306fPNG\u304bGIF\u3001\u5199\u771f\u306e\u3088\u3046\u306b\u8272\u6570\u304c\u591a\u3044\u753b\u50cf\u306fJPG\u3001\u56f3\u7248\u306e\u3088\u3046\u306a\u8272\u6570\u306e\u5c11\u306a\u3044\u30b7\u30f3\u30d7\u30eb\u306a\u3082\u306e\u306fPNG\u304bGIF\u3001\u307e\u305f\u306f\u753b\u50cf\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001SVG\u3068\u3044\u3046\u9078\u629e\u80a2\u3082\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u57fa\u672c\u30eb\u30fc\u30eb\u3068\u3057\u3066\u3001\u753b\u50cf\u306e\u52a3\u5316\u5177\u5408\u3084\u30b5\u30a4\u30ba\u3092\u898b\u306a\u304c\u3089\u3001\u6700\u9069\u306a\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3092\u9078\u3093\u3067\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u9069\u6b63\u306a\u89e3\u50cf\u5ea6\uff08\u30ab\u30f3\u30d0\u30b9\u30b5\u30a4\u30ba\uff09\u306b\u3059\u308b<\/h3>\n<p>\u6700\u8fd1\u306f\u5927\u753b\u9762\uff06\u9ad8\u89e3\u50cf\u5ea6\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u304c\u5897\u3048\u3066\u304a\u308a\u3001\u30ea\u30ad\u30c3\u30c9\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u753b\u50cf\u3092\u5927\u304d\u304f\u8868\u793a\u3067\u304d\u308b\u30b7\u30fc\u30f3\u3082\u5897\u3048\u3066\u3044\u307e\u3059\u304c\u3001\u753b\u8cea\u91cd\u8996\u3067\u89e3\u50cf\u5ea6\u3092\u7121\u5c3d\u8535\u306b\u5927\u304d\u304f\u3057\u3066\u3044\u304f\u3068\u3001\u3069\u3093\u3069\u3093\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u30af\u30aa\u30ea\u30c6\u30a3\u3092\u62c5\u4fdd\u3067\u304d\u308b\u5fc5\u8981\u6700\u4f4e\u9650\u306e\u89e3\u50cf\u5ea6\u3092\u6c7a\u3081\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h3>\u5199\u771f\u306e\u30af\u30aa\u30ea\u30c6\u30a3\u3092\u4e0b\u3052\u308b<\/h3>\n<p>\u57fa\u672c\u7684\u306b\u3001\u5727\u7e2e\u6642\u306b\u5199\u771f\u306e\u30af\u30aa\u30ea\u30c6\u30a3\u3092\u4e0b\u3052\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306f\u6291\u3048\u3089\u308c\u307e\u3059\u3002\u6700\u7d42\u7684\u306b\u306f\u76ee\u8996\u3067\u306e\u78ba\u8a8d\u30fb\u8abf\u6574\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u304c\u3001JPEG\u3067\u3042\u308c\u3070\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e90%\u7a0b\u5ea6\u306e\u30af\u30aa\u30ea\u30c6\u30a3\u3067\u3042\u308c\u3070\u3001\u305d\u3053\u307e\u3067\u52a3\u5316\u304c\u76ee\u7acb\u305f\u306a\u3044\u3053\u3068\u3082\u591a\u3044\u3067\u3059\u3002\u6700\u9069\u306a\u753b\u8cea\u306b\u3064\u3044\u3066\u306f\u3001Photoshop\u3060\u3068\u753b\u50cf\u66f8\u304d\u51fa\u3057\u6642\u306b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u308c\u4ee5\u5916\u306b\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a6\u30a7\u30d6\u30b5\u30fc\u30d3\u30b9\u3092\u6d3b\u7528\u3059\u308b\u624b\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30aa\u30f3\u30e9\u30a4\u30f3\u30a4\u30e1\u30fc\u30b8\u6700\u9069\u5316\u30c4\u30fc\u30eb &#8211; Optimizilla<br \/><a href=\"https:\/\/imagecompressor.com\/ja\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/imagecompressor.com\/ja\/<\/a><\/li>\n<\/ul>\n<h3>EXIF\u60c5\u5831\u306a\u3069\u4e0d\u8981\u306a\u60c5\u5831\u3092\u524a\u308b<\/h3>\n<p>\u8efd\u91cf\u5316\u3068\u3057\u3066\u306f\u5fae\u3005\u305f\u308b\u3082\u306e\u3067\u3059\u304c\u3001EXIF\u60c5\u5831\u306e\u524a\u9664\u3082\u6709\u52b9\u3067\u3059\u3002EXIF\u60c5\u5831\u3068\u306f\u3001\u753b\u50cf\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u4f4d\u7f6e\u3084\u64ae\u5f71\u65e5\u306a\u3069\u306e\u60c5\u5831\u3067\u3059\u3002\u3053\u308c\u3089\u306fweb\u30da\u30fc\u30b8\u306e\u8868\u793a\u306b\u306f\u4e0d\u8981\u306a\u306e\u3067\u524a\u9664\u3057\u307e\u3059\u3002Photoshop\u306e\u300cWeb\u7528\u306b\u4fdd\u5b58\u300d\u3092\u4f7f\u3046\u3068\u81ea\u52d5\u7684\u306b\u524a\u9664\u3067\u304d\u307e\u3059\u3002\u306a\u304a\u3001\u8efd\u91cf\u5316\u4ee5\u5916\u306b\u3001EXIF\u60c5\u5831\u3067\u500b\u4eba\u3084\u64ae\u5f71\u8005\u3001\u64ae\u5f71\u5834\u6240\u304c\u7279\u5b9a\u3055\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u89b3\u70b9\u304b\u3089\u3044\u3063\u3066\u3082\u3001\u524a\u9664\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"16-%e3%82%a4%e3%83%b3%e3%83%a9%e3%82%a4%e3%83%b3%e7%94%bb%e5%83%8f%e5%8c%96\"><\/span>16. \u30a4\u30f3\u30e9\u30a4\u30f3\u753b\u50cf\u5316<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u901a\u5e38\u3001\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306fHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u767a\u751f\u3057\u3066\u8aad\u307f\u8fbc\u3080\u306e\u3067\u3001\u753b\u50cf\u6570\u304c\u591a\u3044\u307b\u3069\u3053\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3082\u591a\u304f\u306a\u308a\u3001\u53d6\u5f97\u306b\u304b\u304b\u308b\u6642\u9593\u304c\u9577\u304f\u306a\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u5b9f\u306f\u753b\u50cf\u3082\u3001CSS\u3084JavaScript\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u306b\u305b\u305a\u3001HTML\u306b\u76f4\u63a5\u30a4\u30f3\u30e9\u30a4\u30f3\u3067\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u306b\u3088\u308a\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u56de\u6570\u3092\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5199\u771f\u306e\u3088\u3046\u306a\u8907\u96d1\u306a\u753b\u50cf\u3067\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u9577\u304f\u3001HTML\u304c\u91cd\u304f\u306a\u308b\u306e\u3067\u9006\u52b9\u679c\u3067\u3059\u304c\u3001SVG\u3084PNG\u3067\u4f5c\u3063\u305f\u30a2\u30a4\u30b3\u30f3\u306e\u3088\u3046\u306a\u5358\u7d14\u306a\u56f3\u5f62\u306f\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u3067\u66f8\u304f\u3053\u3068\u3067\u3053\u306e\u52b9\u679c\u3092\u5f97\u3089\u308c\u307e\u3059\u3002\u306a\u304a\u3001\u753b\u50cf\u3092\u30a4\u30f3\u30e9\u30a4\u30f3\u3067\u8a18\u8ff0\u3059\u308b\u306b\u306f\u3001\u300cbase64\u300d\u3068\u3044\u3046\u30b3\u30fc\u30c9\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001Windows\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084Google Chrome\u306e\u62e1\u5f35\u6a5f\u80fd\u306e\u4ed6\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a6\u30a7\u30d6\u30b5\u30fc\u30d3\u30b9\u3067\u3082\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30c7\u30fc\u30bf\u5909\u63db\u30c4\u30fc\u30eb\uff08BASE64, URL\u30a8\u30f3\u30b3\u30fc\u30c9(URL\u30c7\u30b3\u30fc\u30c9), HEX(16\u9032\u30c0\u30f3\u30d7), MD5, SHA-1\u5909\u63db\u30d5\u30a9\u30fc\u30e0\uff09<br \/><a href=\"https:\/\/hogehoge.tk\/tool\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/hogehoge.tk\/tool\/<\/a><\/li>\n<\/ul>\n<p>\u5909\u63db\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u66f8\u5f0f\u3067<code>&lt;img&gt;<\/code>\u30bf\u30b0\u306b\u57cb\u3081\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">&lt;img src=\"data:image\/png; base64, base64\u306e\u30b3\u30fc\u30c9\"&gt;<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"17-%e7%94%bb%e5%83%8f%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%81%85%e5%bb%b6\"><\/span>17. \u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u9045\u5ef6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30d6\u30e9\u30a6\u30b6\u306fweb\u30da\u30fc\u30b8\u306e\u30ed\u30fc\u30c9\u6642\u306b\u3059\u3079\u3066\u306e\u753b\u50cf\u3092\u8aad\u307f\u8fbc\u3082\u3046\u3068\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u753b\u50cf\u306e\u6570\u304c\u591a\u3044\u307b\u3069\u30da\u30fc\u30b8\u306e\u8868\u793a\u5373\u305e\u306b\u5f71\u97ff\u304c\u51fa\u307e\u3059\u3002\u3053\u308c\u3092\u56de\u907f\u3067\u304d\u308b\u306e\u304c\u3001lazyload\u306e\u3088\u3046\u306a\u3001\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\u306e\u5916\u306b\u3042\u308b\u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u3092\u9045\u5ef6\u3055\u305b\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3067\u3059\u3002\u30d5\u30a1\u30fc\u30b9\u30c8\u30d3\u30e5\u30fc\u306e\u8868\u793a\u306b\u306f\u5fc5\u8981\u304c\u306a\u3044\uff08\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u898b\u3048\u306a\u3044\uff09\u90e8\u5206\u306e\u753b\u50cf\u306e\u8aad\u307f\u8fbc\u307f\u3092\u9045\u3089\u305b\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u4f53\u611f\u7684\u306b\u8868\u793a\u304c\u901f\u304f\u306a\u3063\u305f\u3088\u3046\u306b\u611f\u3058\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001lazyload\u3092\u3059\u3079\u3066\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u5bfe\u5fdc\u3055\u305b\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306eJavaScript\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5c0e\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>lazyload<br \/><a href=\"https:\/\/github.com\/tuupola\/lazyload\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/tuupola\/lazyload<\/a><\/li>\n<\/ul>\n<p>\u307e\u305f\u3001\u6700\u65b0\u7248\u306eChrome\u3067\u306f\u3053\u306e\u6a5f\u80fd\u304c\u30cd\u30a4\u30c6\u30a3\u30d6\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001<code>&lt;img&gt;<\/code>\u30bf\u30b0\u306b\u4e0b\u8a18\u306e\u5c5e\u6027\u3092\u4ed8\u3051\u52a0\u3048\u308b\u3060\u3051\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">&lt;img src=\"hoge.png\" loading=\"lazy\"&gt;<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"18-%e3%83%ad%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e8%a1%a8%e7%a4%ba\"><\/span>18. \u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u8868\u793a<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u53b3\u5bc6\u306b\u306f\u8868\u793a\u9ad8\u901f\u5316\u306e\u624b\u6cd5\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u3069\u3046\u3057\u3066\u3082\u8868\u793a\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u60f3\u5b9a\u3055\u308c\u308b\u5834\u5408\u306b\u306f\u3001\u300c\u8aad\u307f\u8fbc\u307f\u4e2d\u300d\u3068\u660e\u793a\u3059\u308b\u3060\u3051\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u5fc3\u8c61\u306f\u5909\u308f\u308a\u307e\u3059\u3002\u4f55\u3082\u8868\u793a\u3055\u308c\u305a\u771f\u3063\u767d\u306a\u307e\u307e\u3067\u306f\u3001\u5f85\u3061\u6642\u9593\u304c\u9577\u304f\u611f\u3058\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u6b63\u5e38\u306b\u6a5f\u80fd\u3057\u3066\u3044\u306a\u3044\u3068\u30b5\u30a4\u30c8\u3068\u53d7\u3051\u53d6\u3089\u308c\u3066\u96e2\u8131\u3055\u308c\u308b\u53ef\u80fd\u6027\u3082\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u30e2\u30d0\u30a4\u30eb\u306a\u3069\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001\u901a\u4fe1\u74b0\u5883\u304c\u60aa\u304f\u3001\u3069\u3046\u3057\u3066\u3082\u8868\u793a\u306e\u9045\u5ef6\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u3046\u3044\u3046\u72b6\u6cc1\u3082\u60f3\u5b9a\u3057\u3066\u3001\u5f85\u3061\u6642\u9593\u304c\u77ed\u304f\u611f\u3058\u3089\u308c\u308b\u5fc3\u7406\u7684\u306a\u914d\u616e\u3082\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u5074\u3067\u3067\u304d\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u306a\u304a\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u8868\u793a\u306f\u3001\u3042\u304f\u307e\u3067\u6700\u7d42\u624b\u6bb5\u3067\u3042\u308a\u3001\u771f\u3063\u5148\u306b\u98db\u3073\u3064\u304f\u3082\u306e\u3067\u306f\u306a\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002\u30b5\u30a4\u30c8\u306b\u8a2a\u554f\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u306b\u3001\u30c6\u30ad\u30b9\u30c8\u3082\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u3082\u4e00\u5207\u8868\u793a\u305b\u305a\u3001\u771f\u3063\u5148\u306b\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u8868\u793a\u3055\u305b\u3066\u4f55\u79d2\u3082\u5f85\u305f\u305b\u308b\u3088\u3046\u306a\u3053\u3068\u306f\u907f\u3051\u305f\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%95%e3%81%84%e3%81%94%e3%81%ab\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30b5\u30a4\u30c8\u306e\u8868\u793a\u9ad8\u901f\u5316\u306b\u304a\u3044\u3066\u300c\u3053\u308c\u3092\u3084\u3063\u3066\u304a\u3051\u3070\u5727\u5012\u7684\u306b\u901f\u304f\u306a\u308b\u300d\u3068\u3044\u3046\u3001\u5207\u308a\u672d\u306e\u3088\u3046\u306a\u3082\u306e\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002\u3053\u3053\u3067\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u306f\u300110\u5206\u306e1\u79d2\u3082\u5909\u308f\u308b\u304b\u3069\u3046\u304b\u3001\u3068\u3044\u3046\u3082\u306e\u3082\u591a\u3044\u3067\u3059\u3002\u307e\u305f\u3001\u30b5\u30a4\u30c8\u306e\u7279\u6027\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u306a\u3069\u3092\u8e0f\u307e\u3048\u308b\u3068\u3001\u5b9f\u73fe\u304c\u96e3\u3057\u3044\u3082\u306e\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002\u3057\u304b\u3057\u30b5\u30a4\u30c8\u306e\u8868\u793a\u9ad8\u901f\u5316\u3068\u306f\u3001\u3053\u3046\u3044\u3063\u305f\u5c0f\u3055\u306a\u3053\u3068\u306e\u7a4d\u307f\u91cd\u306d\u3067\u3042\u308b\u3068\u3082\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f59\u8ac7\u3067\u3059\u304c\u3001\u79c1\u306f\u30e2\u30fc\u30bf\u30fc\u30b9\u30dd\u30fc\u30c4\u304c\u597d\u304d\u306a\u306e\u3067\u3059\u304c\u3001\u4f8b\u3048\u3070F1\u306f\u3001\u5168\u95774\uff5e7km\u306e\u30b5\u30fc\u30ad\u30c3\u30c8\u30921\u5468\u8d70\u308a\u5207\u308b\u306e\u306b1\u79d2\u9045\u308c\u308b\u3060\u3051\u3067\u52dd\u8ca0\u306b\u306a\u3089\u306a\u3044\u4e16\u754c\u3067\u3059\u3002\u30c8\u30c3\u30d7\u30c1\u30fc\u30e0\u306f\u6bce\u5468100\u5206\u306e1\u79d2\u3092\u7af6\u3044\u5408\u3063\u3066\u304a\u308a\u3001\u305d\u306e\u305f\u3081\u306b\u30a8\u30a2\u30ed\u30c0\u30a4\u30ca\u30df\u30af\u30b9\u3001\u30d1\u30ef\u30fc\u30e6\u30cb\u30c3\u30c8\u3001\u30d6\u30ec\u30fc\u30ad\u3001\u30b5\u30b9\u30da\u30f3\u30b7\u30e7\u30f3\u306a\u3069\u30011000\u5206\u306e1\u79d2\u3067\u3082\u901f\u304f\u306a\u308b\u7b87\u6240\u304c\u3042\u308c\u3070\u3001\u7dcf\u52d5\u54e1\u3067\u8eca\u4f53\u3092\u6539\u5584\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u305d\u306e\u4e00\u65b9\u3067\u53b3\u3057\u3044\u30ec\u30ae\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3082\u5b88\u3089\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30b5\u30a4\u30c8\u306b\u304a\u3051\u308b\u8868\u793a\u9ad8\u901f\u5316\u306e\u8003\u3048\u65b9\u306b\u306f\u3001\u3053\u3046\u3044\u3063\u305fF1\u30de\u30b7\u30f3\u306e\u9ad8\u901f\u5316\u3068\u5171\u901a\u3059\u308b\u3082\u306e\u3092\u611f\u3058\u307e\u3059\u3002\u6570\u3005\u306e\u5236\u7d04\u304c\u3042\u308b\u4e2d\u3067\u5c0f\u3055\u306a\u3053\u3068\u3092\u7a4d\u307f\u91cd\u306d\u3066\u3044\u304f\u3053\u3068\u3053\u305d\u3001\u8868\u793a\u306e\u9ad8\u901f\u5316\u306b\u7e4b\u304c\u308a\u3001\u305d\u308c\u304c\u5fc3\u5730\u3088\u3044\u30b5\u30a4\u30c8\u4f53\u9a13\u306b\u7e4b\u304c\u3063\u3066\u3044\u304f\u3082\u306e\u3060\u3068\u79c1\u306f\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d9\u30a4\u30b8\u3067\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u3084\u3063\u3066\u3044\u308b\u9152\u4e95\u3067\u3059\u3002 \u30d9\u30a4\u30b8\u306b\u306f2017\u5e74\u306b\u3001\u65b0\u5352\u3067\u5165\u793e\u3057\u307e\u3057\u305f\u3002\u3044\u3064\u3082\u306fJavaScript\u306e\u958b\u767a\u304b\u3089WordPress\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306a\u3069\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3092\u4e2d\u5fc3\u3068\u3057\u306a\u304c\u3089\u3001\u4e00\u90e8\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3082\u542b\u3081\u3066\u4ed5 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":389,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[12,6],"tags":[],"class_list":["post-298","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webpro","category-front-end"],"acf":[],"modified_by":"\u9152\u4e95\u7422\u90ce","_links":{"self":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":1,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"predecessor-version":[{"id":7324,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/298\/revisions\/7324"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/media\/389"}],"wp:attachment":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}