{"id":10738,"date":"2020-07-21T06:50:18","date_gmt":"2020-07-20T21:50:18","guid":{"rendered":"https:\/\/www.suzukikenichi.com\/blog\/?p=10738"},"modified":"2022-03-16T06:04:55","modified_gmt":"2022-03-15T21:04:55","slug":"chrome-has-made-improvements-to-align-the-native-image-lazy-loading-distance-from-viewport-thresholds","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/chrome-has-made-improvements-to-align-the-native-image-lazy-loading-distance-from-viewport-thresholds\/","title":{"rendered":"\u30cd\u30a4\u30c6\u30a3\u30d6Lazy-load\u306e\u3057\u304d\u3044\u5024\u3092Chrome\u304c\u6539\u826f\u3002\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u304b\u3089\u306e\u8ddd\u96e2\u3092\u77ed\u304f\u3057\u3001\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u304c\u9069\u7528\u3055\u308c\u3084\u3059\u304f"},"content":{"rendered":"<p class=\"p20-b al-r small\">[\u30ec\u30d9\u30eb: \u4e0a\u7d1a]<\/p>\n<p>Chrome \u304c<a href=\"https:\/\/web.dev\/native-lazy-loading\/\">\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load<\/a> \u3092\u9069\u7528\u3059\u308b\u969b\u306e<a href=\"https:\/\/web.dev\/native-lazy-loading\/#improved-data-savings-and-distance-from-viewport-thresholds\">\u3057\u304d\u3044\u5024\u3092 Google \u306f\u6539\u826f<\/a>\u3057\u307e\u3057\u305f\u3002<\/p>\n<p class=\"p60-b\">\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u3092\u9069\u7528\u3059\u308b\u753b\u50cf\/iframe \u306e\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u304b\u3089\u306e\u8ddd\u96e2\u3092\u5f93\u6765\u3088\u308a\u3082\u77ed\u304f\u3057\u307e\u3057\u305f\u3002<br \/>\u3064\u307e\u308a\u3001\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u304c\u3088\u308a\u9069\u7528\u3055\u308c\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>3000px \u304b\u3089 1250px \u3078\u77ed\u7e2e<\/h2>\n<p>\u3053\u308c\u307e\u3067\u306f\u3001\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\uff08\u30b9\u30af\u30ea\u30fc\u30f3\u306b\u898b\u3048\u3066\u3044\u308b\u9818\u57df\uff09\u304b\u3089 3000px \u4ee5\u4e0a\u96e2\u308c\u3066\u3044\u308b\u753b\u50cf\u3068 iframe \u304c\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u306e\u6a5f\u80fd\u306b\u3088\u308a Chrome \u306f\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u3057\u307e\u3057\u305f\u3002<br \/>\u3053\u308c\u304b\u3089\u306f 1250px \u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5c11\u3057\u4e71\u66b4\u306a\u8a00\u3044\u65b9\u3092\u3059\u308b\u3068\u3001\u4ee5\u524d\u306f\u3001\u305f\u3068\u3048\u898b\u3048\u3066\u3044\u306a\u304f\u3066\u3082\u30da\u30fc\u30b8\u306e\u305a\u3063\u3068\u4e0b\u306b\u306a\u3044\u3068\u753b\u50cf\u306f\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\u6539\u826f\u5f8c\u306f\u3001\u305d\u3093\u306a\u306b\u4e0b\u306b\u306a\u304f\u3066\u3082\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u3055\u308c\u307e\u3059\u3002<br \/>\u3057\u305f\u304c\u3063\u3066\u3001\u3088\u308a\u591a\u304f\u306e\u753b\u50cf\uff08\u3068 iframe\uff09\u304c\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u306e\u5bfe\u8c61\u306b\u306a\u308b\u306e\u3067\u3001\u30da\u30fc\u30b8\u306e\u8aad\u307f\u8fbc\u307f\u901f\u5ea6\u304c\u6539\u5584\u3055\u308c\u308b\u6a5f\u4f1a\u304c\u5897\u3048\u307e\u3059\u3002<\/p>\n<p>\u4e00\u822c\u7684\u306b\u5229\u7528\u3055\u308c\u3066\u3044\u308b Lazy-load \u7528\u306e JavaScript \u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u305f\u3068\u3048\u3070 LazySizes \u3068\u307b\u307c\u540c\u7b49\u306e\u52d5\u4f5c\u3092\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u6700\u65b0\u7248\u306e Chrome 85 \u304b\u3089\u65e7\u30d0\u30fc\u30b8\u30e7\u30f3\u306e 79 \u307e\u3067\u3055\u304b\u306e\u307c\u3063\u3066\u3001\u3053\u306e\u5909\u66f4\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a 3000px \u21d2 1250px \u306f 4G \u306e\u3088\u3046\u306a\u9ad8\u901f\u56de\u7dda\u306e\u5834\u5408\u3067\u3059\u3002<br \/>3G \u306e\u3088\u3046\u306a\u4f4e\u901f\u56de\u7dda\u3067\u306f 4000px \u21d2 2500 px \u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p class=\"p40-b\">\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u3057\u304d\u3044\u5024\u306e\u5909\u66f4\u306f\u4eca\u306e\u3068\u3053\u308d Chrome \u3060\u3051\u306b\u9650\u3089\u308c\u307e\u3059\u3002<br \/>\u3057\u304b\u3057\u3001\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u306f<a href=\"https:\/\/www.suzukikenichi.com\/blog\/native-image-lazy-loading-is-now-officially-a-web-standard\/\">\u753b\u50cf<\/a>\u3001iframe \u3068\u3082\u306b<a href=\"https:\/\/www.suzukikenichi.com\/blog\/native-lazy-loading-for-iframe-added-to-the-web-standard\/\">\u30a6\u30a7\u30d6\u6a19\u6e96<\/a>\u306b\u306a\u3063\u3066\u304a\u308a\u3001Chrome \u4ee5\u5916\u306e\u30d6\u30e9\u30a6\u30b6\u306b\u3082\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\u307b\u304b\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u3082\u3057\u304d\u3044\u5024\u3092\u5909\u66f4\u3059\u308b\u3088\u3046\u306b Google \u306f\u547c\u3073\u304b\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u753b\u50cf\u306e\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3059\u308b<\/h2>\n<p>\u3057\u304d\u3044\u5024\u306e\u6539\u826f\u3092\u30a2\u30ca\u30a6\u30f3\u30b9\u3059\u308b\u3068\u540c\u6642\u306b\u3001\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u306e\u5229\u7528\u306b\u95a2\u3057\u3066 Google \u306f\u3044\u304f\u3064\u304b\u8ffd\u52a0\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001<code>&lt;img&gt;<\/code> \u30bf\u30b0\u306e\u753b\u50cf\u306b\u306f\u5fc5\u305a <a href=\"https:\/\/web.dev\/native-lazy-loading\/#images-should-include-dimension-attributes\"><code>width<\/code> \u5c5e\u6027\u3068 <code>height<\/code> \u5c5e\u6027\u3092\u4ed8\u3051<\/a>\u307e\u3059\u3002<br \/>\u7406\u7531\u306f <a href=\"https:\/\/www.suzukikenichi.com\/blog\/google-introduces-web-vitals\/\">CLS<\/a> \u3092\u9632\u3050\u305f\u3081\u3067\u3059\u3002<\/p>\n<p><code>width<\/code> \u3068 <code>height<\/code> \u304c\u306a\u304f\u3066\u3082\u3001\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u306f\u6a5f\u80fd\u3057\u307e\u3059\u304c\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u30ba\u30ec\u3092\u9632\u6b62\u3059\u308b\u305f\u3081\u306b\u3082\u4ed8\u3051\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/p>\n<p class=\"p40-b\"><code>width<\/code>\/<code>height<\/code> \u304c CSL \u9632\u6b62\u306b\u5f79\u7acb\u3064\u7406\u7531\u306f <a href=\"https:\/\/webtan.impress.co.jp\/e\/2020\/07\/03\/36562#item01\">Web\u62c5\u5f53\u8005Forum \u306e\u9023\u8f09\u30b3\u30e9\u30e0\u3067\u89e3\u8aac<\/a>\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u5185\u306e\u753b\u50cf\u306b\u306f\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u3057\u306a\u3044<\/h2>\n<p>\u521d\u3081\u304b\u3089\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306b\u8868\u793a\u3055\u308c\u308b\u753b\u50cf\u3068 iframe \u306b\u306f<a href=\"https:\/\/web.dev\/native-lazy-loading\/#avoid-lazy-loading-images-that-are-in-the-first-visible-viewport\">\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u3092\u4f7f\u308f\u306a\u3044<\/a>\u306e\u304c\u7406\u60f3\u3067\u3059\u3002<\/p>\n<p>\u6700\u521d\u304b\u3089\u8868\u793a\u3059\u3079\u304d\u306a\u306e\u306b\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u306b\u4f59\u5206\u306a\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\uff08\u5177\u4f53\u7684\u306b\u306f <code>IntersectionObserver<\/code> \u306e\u4ecb\u5165\uff09\u3002<br \/>\u300c\u8868\u793a\u3092\u5f85\u3066\u3068\u547d\u4ee4\u3055\u308c\u305f\u3051\u3069\u3001\u3059\u3050\u306b\u8868\u793a\u3057\u3066\u3044\u3044\u3093\u3058\u3083\u3093\uff01\u300d\u3068\u3044\u3046\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u304b\u306d\u3002<\/p>\n<p class=\"p40-b\">\u5b9f\u8cea\u7684\u306b\u306f\u3001Chrome \u3067\u306f\u554f\u984c\u306b\u306a\u308b\u3088\u3046\u306a\u4e0d\u90fd\u5408\u306f\u767a\u751f\u3057\u306a\u3044\u3082\u306e\u306e\u3001<strong>\u53ef\u80fd\u3067\u3042\u308c\u3070<\/strong>\u3001\u6700\u521d\u304b\u3089\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306b\u8868\u793a\u3059\u308b\u8981\u7d20\u306b\u306f <code>loading=lazy<\/code> \u3092\u8ffd\u52a0\u3057\u306a\u3044\u306e\u304c\u63a8\u5968\u3067\u3059\u3002<\/p>\n<h2>JS \u306e Lazy-load \u3068\u4f75\u7528<\/h2>\n<p>\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u3044\u30d6\u30e9\u30a6\u30b6\u306f\u3001<code>loading=lazy<\/code> \u3092\u7121\u8996\u3057\u307e\u3059\u3002<br \/>\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u306f\u8d77\u3053\u3089\u305a\u3001\u901a\u5e38\u3069\u304a\u308a\u306b\u753b\u50cf\u3084 iframe \u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<p>\u3059\u3079\u3066\u306e\u30d6\u30e9\u30a6\u30b6\u3067 Lazy-load \u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3068\u3057\u3066\u3001Lazy-load \u7528\u306e <a href=\"https:\/\/web.dev\/native-lazy-loading\/#what-if-i'm-already-using-a-third-party-library-or-a-script-to-lazy-load-images\">\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd JavaScript \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3059\u308b\u5fc5\u8981<\/a>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e JavaScript \u304c\u8a2d\u5b9a\u3059\u308b\u3057\u304d\u3044\u5024\u304c \u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u3088\u308a\u3082\u5927\u304d\u3051\u308c\u3070\u3001\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u5074\u306e\u3057\u304d\u3044\u5024\u306b Chrome \u306f\u5f93\u3044\u307e\u3059\u3002<br \/>JavaScript \u306e\u3057\u304d\u3044\u5024\u306e\u307b\u3046\u304c\u5c0f\u3055\u3051\u308c\u3070\u3001JavaScript \u5074\u306e\u3057\u304d\u3044\u5024\u306b Chrome \u306f\u5f93\u3044\u307e\u3059\uff08\u3057\u304d\u3044\u5024\u306b\u5f93\u3046\u3060\u3051\u3067\u3042\u3063\u3066\u3001\u5b9f\u969b\u306e\u753b\u50cf\u304c\u3069\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u8868\u793a\u3055\u308c\u308b\u304b\u306f\u8a2d\u5b9a\u306b\u3082\u3088\u308b\uff09\u3002<\/p>\n<p class=\"p60-b p40-t\">\u305d\u306e\u307b\u304b\u306b\u3082\u3001<a href=\"https:\/\/web.dev\/native-lazy-loading\/#faq\">\u591a\u304f\u306e FAQ \u3092\u63b2\u8f09<\/a>\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\u7279\u306b\u958b\u767a\u7cfb\u306e\u65b9\u306f\u8aad\u3093\u3067\u304a\u304f\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u304c\u3069\u3093\u3069\u3093\u4f7f\u3044\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\u3042\u306a\u305f\u306f\u3082\u3046\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u304b\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chrome \u304c\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u3092\u9069\u7528\u3059\u308b\u969b\u306e\u3057\u304d\u3044\u5024\u3092 Google \u306f\u6539\u826f\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":10739,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1225,1657],"class_list":["post-10738","post","type-post","status-publish","format-standard","has-post-thumbnail","category-google-seo","tag-lazy-load","tag-native-lazy-loading"],"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/10738","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=10738"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/10738\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media\/10739"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=10738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=10738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=10738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}