{"id":10162,"date":"2019-09-09T06:15:34","date_gmt":"2019-09-08T21:15:34","guid":{"rendered":"https:\/\/www.suzukikenichi.com\/blog\/?p=10162"},"modified":"2022-03-16T06:05:13","modified_gmt":"2022-03-15T21:05:13","slug":"google-releases-native-lazyload-plugin-for-wordpress","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/google-releases-native-lazyload-plugin-for-wordpress\/","title":{"rendered":"\u30cd\u30a4\u30c6\u30a3\u30d6Lazy-load\u3092WordPress\u3067\u7c21\u5358\u5b9f\u88c5\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092Google\u304c\u516c\u958b"},"content":{"rendered":"<p class=\"p20-b al-r small\">[\u30ec\u30d9\u30eb: \u4e2d\u7d1a]<\/p>\n<p>\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u3092\u7c21\u5358\u306b\u5b9f\u88c5\u3059\u308b<a href=\"https:\/\/ja.wordpress.org\/plugins\/native-lazyload\/\"> WordPress \u7528\u306e\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u3092 Google \u304c\u516c\u958b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" itemprop=\"image\" loading=\"lazy\" class=\"bdr\" src=\"https:\/\/www.suzukikenichi.com\/images\/native-lazyload\u2013by-google.png\" alt=\"Native Lazyload by Google\" width=\"1200\" height=\"800\" \/><\/p>\n<p class=\"p60-b\">\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u306f JavaScript \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306a\u304f <code>loading<\/code> \u5c5e\u6027\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u3001\u753b\u50cf\u3068 iframe \u306e\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002<br \/>1 \u304b\u6708\u524d\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f <a href=\"https:\/\/www.suzukikenichi.com\/blog\/chrome-76-supports-native-native-loading\/\">Chrome 76 \u3067\u30b5\u30dd\u30fc\u30c8<\/a>\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h2>\u8a2d\u5b9a\u4e0d\u8981\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051\u3067 WP \u3067 Lazy-load<\/h2>\n<p>Native Lazyload \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4f7f\u3044\u65b9\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<br \/>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u6709\u52b9\u306b\u3059\u308b\u3060\u3051\u3067\u3059\u3002<br \/>\u8a2d\u5b9a\u9805\u76ee\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u6709\u52b9\u306b\u3059\u308b\u3068\u3001<code>img<\/code> \u30bf\u30b0\u3068 <code>iframe<\/code> \u30bf\u30b0\u306b loading=&#8221;lazy&#8221; \u5c5e\u6027\u3092\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" itemprop=\"image\" loading=\"lazy\" class=\"bdr\" src=\"https:\/\/www.suzukikenichi.com\/images\/loading-lazy-attrib.png\" alt=\"loading \u5c5e\u6027\" width=\"755\" height=\"79\" \/><\/p>\n<p class=\"p30-t\">\u73fe\u72b6\u3067\u306f\u3001<code>loading<\/code> \u5c5e\u6027\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u30d6\u30e9\u30a6\u30b6\u306f Chrome 76\uff08\u4ee5\u4e0a\uff09\u3060\u3051\u3067\u3059\u3002<br \/><code>Loading<\/code> \u5c5e\u6027\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u3044\u30d6\u30e9\u30a6\u30b6\u3001\u8a00\u3044\u63db\u3048\u308c\u3070 Chrome \u4ee5\u5916\u306e\u30d6\u30e9\u30a6\u30b6\u306b\u5bfe\u3057\u3066\u306f\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3068\u3057\u3066\u3001JavaScript \u306e <code>IntersectionObserver<\/code> API \u3092\u5229\u7528\u3057\u305f lazy-load \u3092\u4ee3\u308f\u308a\u306b\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p><code>IntersectionObserver<\/code> \u306f\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a <a href=\"https:\/\/developers.google.com\/search\/docs\/guides\/lazy-loading\">Lazy-load \u306e\u5b9f\u88c5\u65b9\u6cd5\u3068\u3057\u3066 Google \u304c\u63a8\u5968<\/a>\u3057\u3066\u3044\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001Native Lazyload \u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3001<code>loading<\/code> \u5c5e\u6027\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u30d6\u30e9\u30a6\u30b6\uff08= Chrome\uff09\u306b\u5bfe\u3057\u3066\u3082\u3057\u3066\u3044\u306a\u3044\u30d6\u30e9\u30a6\u30b6\uff08= Chrome \u4ee5\u5916\uff09\u306b\u5bfe\u3057\u3066\u3082\u7c21\u5358\u306b Lazy-load \u3092\u63d0\u4f9b\u3067\u304d\u308b\u306e\u3067\u3059\u3002<\/p>\n<p class=\"p40-b\">\u306a\u304a lazy-load \u3092\u9069\u7528\u3055\u305b\u305f\u304f\u306a\u3044\u753b\u50cf\u306b\u306f <code>skip-lazy<\/code> \u3092 class \u306b\u8ffd\u52a0\u3059\u308b\u3068\u9069\u7528\u3092\u56de\u907f\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u6ce8\u610f\u70b9\u306b\u89e6\u308c\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u3059\u3067\u306b\u3001\u5225\u306e\u65b9\u6cd5 (JavaScript) \u3067 Lazy-load \u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u74b0\u5883\u3067\u306f\u3001\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f75\u7528\u3057\u306a\u3044\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\u50d5\u304c\u8a66\u3057\u305f\u74b0\u5883\u3067\u306f\u304b\u3048\u3063\u3066\u9045\u304f\u306a\u308a\u307e\u3057\u305f\uff08\u3068\u3044\u3046\u3088\u308a\u3001\u753b\u50cf\u304c\u30ed\u30fc\u30c9\u3055\u308c\u306a\u304b\u3063\u305f\uff09\u3002<br \/>\u5e72\u6e09\u3092\u8d77\u3053\u3057\u3066\u3044\u305f\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u307e\u3067\u3001Lazy-load \u3092\u4f7f\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u30d7\u30ec\u30fc\u30f3\u306a\u74b0\u5883\u3067\u306a\u3089\u304d\u3061\u3093\u3068\u52d5\u4f5c\u3059\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30cd\u30a4\u30c6\u30a3\u30d6 Lazy-load \u3092\u7c21\u5358\u306b\u5b9f\u88c5\u3059\u308b WordPress \u7528\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092 Google \u304c\u516c\u958b\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":10164,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[489,1225,1657],"class_list":["post-10162","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress","tag-google-chrome","tag-lazy-load","tag-native-lazy-loading"],"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/10162","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=10162"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/10162\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media\/10164"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=10162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=10162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=10162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}