# Lazyloading builder blocks to avoid large DOM size

**URL:** <https://forum.builder.io/t/lazyloading-builder-blocks-to-avoid-large-dom-size/2969>\
**Category:** Technical Questions\
**Tags:** shopify, react, styling\
**Created:** [December 8, 2022, 6:37am UTC](https://forum.builder.io/t/lazyloading-builder-blocks-to-avoid-large-dom-size/2969 "2022-12-08T06:37:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [December 8, 2022, 12:32pm UTC](https://forum.builder.io/t/lazyloading-builder-blocks-to-avoid-large-dom-size/2969/2 "2022-12-08T12:32:44Z")

</div>

Hi @Apurva,

For lazy-loading builder blocks, you can refer to our forum post at [Lazy loading Builder components](https://forum.builder.io/t/lazy-loading-builder-components/448)

We recently released Partytown in beta, a lazy-loaded library that helps relocate resource-intensive scripts into a web worker, and off of the main thread. Its goal is to help speed up sites by dedicating the main thread to your code and offloading third-party scripts to a web worker.

[Introducing Partytown 🎉: Run Third-Party Scripts From a Web Worker](https://dev.to/adamdbradley/introducing-partytown-run-third-party-scripts-from-a-web-worker-2cnp) & [How partytown works](https://www.builder.io/blog/how-partytown-works)

---

_[View the full topic](https://forum.builder.io/t/lazyloading-builder-blocks-to-avoid-large-dom-size/2969)._
