# How to put html sections in lazyload

**URL:** <https://forum.bricksbuilder.io/t/how-to-put-html-sections-in-lazyload/3019>\
**Category:** How To\
**Created:** [May 14, 2022, 3:23pm UTC](https://forum.bricksbuilder.io/t/how-to-put-html-sections-in-lazyload/3019 "2022-05-14T15:23:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris92](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/f19dbf/32.png) [@Chris92](https://forum.bricksbuilder.io/u/Chris92)\
**Post date:** [May 14, 2022, 3:23pm UTC](https://forum.bricksbuilder.io/t/how-to-put-html-sections-in-lazyload/3019/1 "2022-05-14T15:23:40Z")

</div>

Hi guys, how can I put html sections in lazyload? just insert an attribute loading=“lazy”? thanks in advance

Screen:  
 ![lazy](https://forum.bricksbuilder.io/uploads/default/original/2X/5/548f291a1aa4f0425b5ee2e4eb4132d71b8ec043.png)

PS: in the screen I inserted eager as a preload for example, but the request applies to both types of loading

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [May 16, 2022, 9:40am UTC](https://forum.bricksbuilder.io/t/how-to-put-html-sections-in-lazyload/3019/2 "2022-05-16T09:40:43Z")

</div>

Hi Christofer,  
I’ve never heard of lazy-load a whole section 🤔

Usually, you can use the attribute for images, iFrames, CSS, JS, or fonts: [Lazy loading - Web Performance | MDN](https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading)

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![Sridhar](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/sridhar/32/22855_2.png) [@Sridhar](https://forum.bricksbuilder.io/u/Sridhar)\
**Post date:** [May 16, 2022, 10:08am UTC](https://forum.bricksbuilder.io/t/how-to-put-html-sections-in-lazyload/3019/3 "2022-05-16T10:08:29Z")

</div>

Swift has that feature.

[Swift Performance WordPress Cache Plugin – UNOFFICIAL GUIDE](https://wpjohnny.com/swift-performance-wordpress-cache-plugin-unofficial-guide/#:~:text=Lazyload%20elements%20%E2%80%93%20clever,use%20this%20feature).

---

<div class="post-metadata">

**Author:** ![Chris92](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/f19dbf/32.png) [@Chris92](https://forum.bricksbuilder.io/u/Chris92)\
**Post date:** [May 16, 2022, 2:17pm UTC](https://forum.bricksbuilder.io/t/how-to-put-html-sections-in-lazyload/3019/4 "2022-05-16T14:17:39Z")

</div>

Hi Sridhar,

It was johnny who advised me to put the html sections in lazyload (that day I asked a question about elementor). In fact, Swift PRO allows you to put in lazyload the sections in elementor. I want to know if adding attributes that way could work. Obviously in an incognito card I do not seem to see the elements in lazyload, maybe I’m wrong something

---

<div class="post-metadata">

**Author:** ![Chris92](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/c/f19dbf/32.png) [@Chris92](https://forum.bricksbuilder.io/u/Chris92)\
**Post date:** [May 16, 2022, 2:19pm UTC](https://forum.bricksbuilder.io/t/how-to-put-html-sections-in-lazyload/3019/5 "2022-05-16T14:19:08Z")

</div>

For example SWIFT PRO allows in elementor to put widgets in lazyload. Such a thing could go on bricks, what do you think? [Lazyload Elementor Widgets – Swift Performance](https://docs.swiftperformance.io/knowledgebase/lazyload-elementor-widgets/)

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [May 16, 2022, 2:48pm UTC](https://forum.bricksbuilder.io/t/how-to-put-html-sections-in-lazyload/3019/6 "2022-05-16T14:48:41Z")

</div>

Unfortunately, I can’t say anything about that because I haven’t used Swift Performance yet.  
If plugins provide the functionality and it works with Bricks: cool!

Personally, I don’t see implementing this as a separate Bricks feature, since there are plugins that do just that and much more in terms of caching/performance on top of that 🚀
