# How to decrease the size of the wasm file the first time it loads

**URL:** <https://devforum.zoom.us/t/how-to-decrease-the-size-of-the-wasm-file-the-first-time-it-loads/57040>\
**Category:** Web\
**Created:** [September 7, 2021, 9:42am UTC](https://devforum.zoom.us/t/how-to-decrease-the-size-of-the-wasm-file-the-first-time-it-loads/57040 "2021-09-07T09:42:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![agus.wiranata](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@agus.wiranata](https://devforum.zoom.us/u/agus.wiranata)\
**Post date:** [September 7, 2021, 9:42am UTC](https://devforum.zoom.us/t/how-to-decrease-the-size-of-the-wasm-file-the-first-time-it-loads/57040/1 "2021-09-07T09:42:21Z")

</div>

Hi team,

I had problems when I first loaded a page containing the Zoom Web SDK, the page loading process took quite a long time.

after I checked it turned out that the wasm file size was quite large.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/9/898cdf37a8d690e36238820bf48e909bfb509780.png)

how do I reduce the size of the wasm file so that the page loading process can be faster?  
or is there an alternative way I can use?

Thank you.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [September 10, 2021, 9:24pm UTC](https://devforum.zoom.us/t/how-to-decrease-the-size-of-the-wasm-file-the-first-time-it-loads/57040/2 "2021-09-10T21:24:52Z")

</div>

Hey @agus.wiranata,

Thank you for reaching out to the Zoom Developer Forum. Is this the size you’re seeing when testing with the [Sample Web App](https://github.com/zoom/sample-app-web) as well? If not, can you share more details about your implementation? What framework - if any - are you using?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![agus.wiranata](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@agus.wiranata](https://devforum.zoom.us/u/agus.wiranata)\
**Post date:** [September 13, 2021, 3:28am UTC](https://devforum.zoom.us/t/how-to-decrease-the-size-of-the-wasm-file-the-first-time-it-loads/57040/3 "2021-09-13T03:28:26Z")

</div>

Hey Max,

Thank you for replying to my question.

I’m using the .NET framework, and for the implementation I followed the method I got from Sample Web Apps.

I’ve also tried running the Sample Web App and the results are the same, here’s the capture:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/8/88064d2f5d480186207b3ec1926496013ba139eb.png)

Thank you.

Regards,  
Agus Wiranata

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [September 15, 2021, 9:08pm UTC](https://devforum.zoom.us/t/how-to-decrease-the-size-of-the-wasm-file-the-first-time-it-loads/57040/4 "2021-09-15T21:08:21Z")

</div>

Hey @agus.wiranata,

Thank you for following up on this! We, unfortunately, don’t have a method to reduce the size of that WASM file. I’ll note that while that may be a large file it does improve the performance of the SDK by using WASM over standard JS.

We plan to release a component-driven version of the SDK which should also allow you to tailor the dependencies used a bit more.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 16, 2021, 7:08am UTC](https://devforum.zoom.us/t/how-to-decrease-the-size-of-the-wasm-file-the-first-time-it-loads/57040/5 "2021-10-16T07:08:25Z")

</div>

Closed on October 16, 2021, 7:08am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
