# Loading issues

**URL:** <https://community.elfsight.com/t/loading-issues/16328>\
**Category:** General Questions\
**Tags:** getting-started\
**Created:** [June 9, 2023, 2:40pm UTC](https://community.elfsight.com/t/loading-issues/16328 "2023-06-09T14:40:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user3246](https://avatars.discourse-cdn.com/v4/letter/u/b782af/32.png) [@user3246](https://community.elfsight.com/u/user3246)\
**Post date:** [June 9, 2023, 2:40pm UTC](https://community.elfsight.com/t/loading-issues/16328/1 "2023-06-09T14:40:50Z")

</div>

It very often happens that all elfsightapps on a page take a very long to load or do not load at all and the page needs to be refreshed. see image: I have added the link to page but it happens on all pages:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/7/7e35ba6422e6c08132d99abe5ab68a1d1f4637b4.png)

[\* **Link to the page with the widget in question:**](https://www.domesticapplianceguard.com/plumbing-drains-cover/)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [June 9, 2023, 4:07pm UTC](https://community.elfsight.com/t/loading-issues/16328/3 "2023-06-09T16:07:15Z")

</div>

Hi @user3246 👋

I’ve checked your website and all the widgets load fast on my side.

However, in order to make the widget appear faster on the page, you can remove the _defer_ attribute from the widget installation code, which makes the widget load only after all other content on the page is loaded. Here’s what the code will look like:

`<script src="https://apps.elfsight.com/p/platform.js"></script> <div class="elfsight-app-WIDGET-ID"></div>`

Another way of making the widget load simultaneously is changing the _defer_ attribute to _async_ . Here is the code:

`<script src="https://apps.elfsight.com/p/platform.js" async></script> <div class="elfsight-app-WIDGET-ID"></div>`

Please replace **WIDGET\_ID** in the codes above with the [ID of your own widget](https://help.elfsight.com/article/1001-where-to-get-your-widget-id) and install it on your website.

Please check it and let me know if it helped 🙂

---

<div class="post-metadata">

**Author:** ![user3246](https://avatars.discourse-cdn.com/v4/letter/u/b782af/32.png) [@user3246](https://community.elfsight.com/u/user3246)\
**Post date:** [June 12, 2023, 4:10pm UTC](https://community.elfsight.com/t/loading-issues/16328/4 "2023-06-12T16:10:27Z")

</div>

Hi Max,

Thanks for this, which is preferable, removing or async?

![image001.png](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/4/4b64d8feda3650d386efebd34d4d57e72b4b1b86.png)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [June 13, 2023, 10:47am UTC](https://community.elfsight.com/t/loading-issues/16328/5 "2023-06-13T10:47:09Z")

</div>

Hi @user3246 👋

Firstly, try to change the _defer_ attribute to _async_.

If it didn’t help, please try the second option.

Could you please check it and let me know how it works for you?
