{"id":10101,"date":"2019-08-15T06:40:46","date_gmt":"2019-08-14T21:40:46","guid":{"rendered":"https:\/\/www.suzukikenichi.com\/blog\/?p=10101"},"modified":"2022-03-16T06:05:15","modified_gmt":"2022-03-15T21:05:15","slug":"chrome-76-supports-native-native-loading","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/chrome-76-supports-native-native-loading\/","title":{"rendered":"Chrome\u304c\u30cd\u30a4\u30c6\u30a3\u30d6lazy-load\u3092\u30b5\u30dd\u30fc\u30c8\u3001JS\u306a\u3057\u3067\u753b\u50cf\u3092\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u53ef\u80fd\u306b"},"content":{"rendered":"<p class=\"p20-b al-r small\">[\u30ec\u30d9\u30eb: \u4e0a\u7d1a]<\/p>\n<p>Google Chrome 76 \u304c<a href=\"https:\/\/web.dev\/native-lazy-loading\/\">\u30cd\u30a4\u30c6\u30a3\u30d6 lazy-load \u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b<\/a>\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>JavaScript \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u6a19\u6e96\u6a5f\u80fd\u3068\u3057\u3066\u753b\u50cf\u306e\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p class=\"p60-b\">\u30cd\u30a4\u30c6\u30a3\u30d6 lazy-load \u306f<a href=\"https:\/\/www.suzukikenichi.com\/blog\/chrome-75-experimentally-supports-native-lazy-loading\/\">\u958b\u767a\u7248 Chrome (Canary) \u3067\u8a66\u9a13\u904b\u7528<\/a>\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>\u81ea\u52d5\u3067\u9045\u5ef6\u8aad\u307f\u8fbc\u307f<\/h2>\n<p>\u6b21\u306e\u52d5\u753b\u306f\u5b50\u732b\u306e\u753b\u50cf\u3060\u3051\u3092\u63b2\u8f09\u3057\u305f<a href=\"https:\/\/mathiasbynens.be\/demo\/img-loading-lazy\">\u30c7\u30e2\u7528\u30da\u30fc\u30b8<\/a>\u3092\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u305f\u69d8\u5b50\u3067\u3059\u3002<br \/>\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u30c4\u30fc\u30eb\u306e Network \u30d1\u30cd\u30eb\u3067\u898b\u308b\u3068\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u306b\u5fdc\u3058\u3066\u753b\u50cf\u304c\u9806\u306b\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><video autoplay loop playsinline width=\"750\" height=\"446\" layout=\"responsive\" class=\"bdr\"><source src=\"https:\/\/www.suzukikenichi.com\/images\/lazyloadig3.mp4\" type=\"video\/mp4\"\/><\/video><\/p>\n<p class=\"p40-b\">\u3053\u306e\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u306f JavaScript \u3067\u5b9f\u88c5\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001Chrome \u306e\u6a19\u6e96\u6a5f\u80fd\u3068\u3057\u3066\u5b9f\u88c5\u3055\u308c\u305f lazy-load \u306e\u6a5f\u80fd\u3067\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>loading \u5c5e\u6027\u3067\u30cd\u30a4\u30c6\u30a3\u30d6 lazy-load<\/h2>\n<p>\u30cd\u30a4\u30c6\u30a3\u30d6 lazy-load \u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001 <code>&lt;img&gt;<\/code> \u30bf\u30b0\u306b <code>loading<\/code> \u5c5e\u6027\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/><code>&lt;iframe&gt;<\/code> \u30bf\u30b0\u3067\u3082 <code>loading<\/code> \u5c5e\u6027\u306f\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/p>\n<p>3\u7a2e\u985e\u306e\u5024\u3092 <code>loading<\/code> \u5c5e\u6027\u306b\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>loading=\"lazy\"<\/code>: <strong><code>lazy<\/code><\/strong> \u306f lazy-load \u3092\u5fc5\u305a\u9069\u7528\u3055\u305b\u307e\u3059\u3002Viewport\uff08\u30b9\u30af\u30ea\u30fc\u30f3\u306b\u898b\u3048\u308b\u30a8\u30ea\u30a2\uff09\u306b\u753b\u50cf\u304c\u8fd1\u3065\u304f\u3068\u753b\u50cf\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059<\/li>\n<li><code>loading=\"eager\"<\/code>: <strong><code>eager<\/code><\/strong> \u306f lazy-load \u3092\u9069\u7528\u305b\u305a\u306b\u3001\u30da\u30fc\u30b8\u306e\u30ed\u30fc\u30c9\u3068\u540c\u6642\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059<\/li>\n<li><code>loading=\"auto\"<\/code>: <strong><code>auto<\/code><\/strong> \u306f lazy-load \u3059\u308b\u304b\u3069\u3046\u304b\u306e\u5224\u65ad\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u4efb\u305b\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><code>loading<\/code> \u5c5e\u6027\u306e\u5024\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u304d (<code>loading<\/code> \u5c5e\u6027\u3060\u3051\u306e\u3068\u304d) \u306f\u3001<code>loading=\"auto\"<\/code> \u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5168\u4f53\u306e\u30b3\u30fc\u30c9\u4f8b\u3067\u3059\u3002 <\/p>\n<div class=\"p40-b\">\n<pre style=\"overflow-x: auto\"><code class=\"green\">&lt;img src=\"lazy-cat.png\" loading=\"lazy\" alt=\"\u304b\u308f\u3044\u3044\u30cd\u30b3\" height=\"700\" width=\"1200\" \/&gt;<\/code><\/pre>\n<\/div>\n<h2>SEO \u306b\u4e0e\u3048\u308b\u5f71\u97ff\u306f\uff1f<\/h2>\n<p>SEO \u306b\u4e0e\u3048\u308b\u5f71\u97ff\u3092\u6c17\u306b\u304b\u3051\u308b\u4eba\u304c\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u5f71\u97ff\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><code>loading<\/code> \u5c5e\u6027\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u3044\u30d6\u30e9\u30a6\u30b6\uff08Chrome \u4ee5\u5916\u3084 Chrome 75 \u4ee5\u4e0b\uff09\u306f\u3001<code>loading<\/code> \u5c5e\u6027\u3092\u7121\u8996\u3057\u3001\u5358\u306a\u308b <code>img<\/code> \u30bf\u30b0\u3068\u3057\u3066\u6271\u3044\u307e\u3059\u3002<br \/>\u753b\u50cf\u306e\u8868\u793a\u306b\u60aa\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Googlebot \u304c\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u304b\u3069\u3046\u304b\u3082\u95a2\u4fc2\u3042\u308a\u307e\u305b\u3093\u3002<br \/><a href=\"https:\/\/www.suzukikenichi.com\/blog\/why-does-intersectionobserver-work-for-lazy-loading-though-googlebot-doesnt-scroll\/\"><code>IntersectionObserver<\/code> \u3092\u5b9f\u88c5\u3057\u3066 lazy-load \u3092\u69cb\u6210\u3057\u3066\u308b\u5834\u5408<\/a>\u3068\u540c\u69d8\u306b\u3001\uff08\u975e\u5e38\u306b\u9ad8\u3044\uff09Viewport \u306b\u53ce\u307e\u308b\u753b\u50cf\u3092 Googlebot \u306f\u4e00\u5ea6\u306b\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>Googlebot \u306b\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u3068\u3044\u3046\u6982\u5ff5\u304c\u306a\u3044\u306e\u3067\u3001lazy-load \u3068\u3044\u3046\u52d5\u304d\u304c\u305d\u3082\u305d\u3082\u5b58\u5728\u3057\u307e\u305b\u3093\u3002<br \/>\u901a\u5e38\u306e\u753b\u50cf\u3068\u3057\u3066\u30af\u30ed\u30fc\u30eb\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p>\u30cd\u30a4\u30c6\u30a3\u30d6 lazy-load \u304c SEO \u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u3068\u3057\u305f\u3089\u3001Chrome \u30e6\u30fc\u30b6\u30fc\u306e\u5b9f\u969b\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30c7\u30fc\u30bf\u3092\u7528\u3044\u308b <a href=\"https:\/\/developers.google.com\/web\/tools\/chrome-user-experience-report\/\">CrUX<\/a> \u306e\u30ec\u30dd\u30fc\u30c8\u30c7\u30fc\u30bf\u304c\u6539\u5584\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u304b\uff08\u6539\u5584\u3057\u305f\u3068\u3057\u305f\u3089\u826f\u3044\u5f71\u97ff\u3067\u3059\u306d\uff09\u3002<\/p>\n<p class=\"p60-t\">Chrome \u4ee5\u5916\u306e\u30d6\u30e9\u30a6\u30b6\u304c <code>loading<\/code> \u5c5e\u6027\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001JavaScript \u3067\u306e\u5b9f\u88c5\u304c\u4e0d\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br \/>Google \u4ee5\u5916\u306e\u30d6\u30e9\u30a6\u30b6\u30d9\u30f3\u30c0\u30fc\u304c\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3092\u671f\u5f85\u3057\u3001Chrome \u3067\u306e\u30cd\u30a4\u30c6\u30a3\u30d6 lazy-load \u3092\u5f53\u9762\u306f\u6d3b\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Chrome 76 \u304c\u30cd\u30a4\u30c6\u30a3\u30d6 lazy-loading \u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002JavaScript \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u6a19\u6e96\u6a5f\u80fd\u3068\u3057\u3066\u3001\u753b\u50cf\u306e\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u304c\u53ef\u80fd\u3060\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[489,1225,1657],"class_list":["post-10101","post","type-post","status-publish","format-standard","category-tools","tag-google-chrome","tag-lazy-load","tag-native-lazy-loading"],"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/10101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/comments?post=10101"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/10101\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=10101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=10101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=10101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}