{"id":2356,"date":"2024-09-05T13:27:32","date_gmt":"2024-09-05T17:27:32","guid":{"rendered":"https:\/\/www.lilithebowman.com\/blog\/?p=2356"},"modified":"2024-11-29T21:06:17","modified_gmt":"2024-11-30T02:06:17","slug":"i-dont-need-to-make-my-own-lazy-loader-anymore","status":"publish","type":"post","link":"https:\/\/www.lilithebowman.com\/blog\/2024\/09\/i-dont-need-to-make-my-own-lazy-loader-anymore\/","title":{"rendered":"I don&#8217;t need to make my own lazy-loader anymore?"},"content":{"rendered":"\n<p>I don&#8217;t have to use any libraries?<br \/><br \/>Wait&#8230; I can just use <code>loading=\"lazy<\/code> anywhere I put an <code>&lt;img \/><\/code> or <code>&lt;iframe \/><\/code> tag and it&#8217;ll just&#8230; wait?<br \/><br \/>I was today years old when I figured this one out. I was too used to the bad-old-days having to roll my own solution or search for someone else&#8217;s. I had no idea that they had finally added this to the standard, and I <strong>highly appreciate it.<\/strong><\/p>\n\n\n\n<p>Thank you so much HTML gods! You have heard my prayers!<\/p>\n\n\n\n<p>As a result, this page should load a lot faster too!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I don&#8217;t have to use any libraries? Wait&#8230; I can just use loading=&#8221;lazy anywhere I put an &lt;img \/> or &lt;iframe \/> tag and it&#8217;ll just&#8230; wait? I was today years old when I figured this one out. I was too used to the bad-old-days having to roll my own solution or search for someone [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2426,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[94,382,381],"class_list":["post-2356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-daily-musings","tag-html","tag-lazy-loading","tag-web-development"],"_links":{"self":[{"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/posts\/2356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/comments?post=2356"}],"version-history":[{"count":1,"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/posts\/2356\/revisions"}],"predecessor-version":[{"id":2357,"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/posts\/2356\/revisions\/2357"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/media\/2426"}],"wp:attachment":[{"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/media?parent=2356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/categories?post=2356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lilithebowman.com\/blog\/wp-json\/wp\/v2\/tags?post=2356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}