> For the complete documentation index, see [llms.txt](https://docs.theshoppad.com/smile/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theshoppad.com/smile/decrease-load-time.md).

# Decrease load time

Speed up the Smile emoji reactions on your storefront by editing theme.liquid so the app loads earlier than the Shopify default.

By default, Shopify apps load after the page is generated. If you'd like to decrease the time it takes to load the app, follow the instructions below.

1\. From your Shopify admin, click **Online Store** to arrive at the **Themes** page.

2\. Find the theme you want to edit, click the **Actions** ▼ button, then click **Edit code**.

<figure><img src="https://docs.theshoppad.com/smile/assets/image%20%283%29.png" alt=""><figcaption></figcaption></figure>

3\. On the left side, click on the **theme.liquid** file in the Layout folder.

<figure><img src="https://docs.theshoppad.com/smile/assets/smile_themeliquid_AS.png" alt=""><figcaption></figcaption></figure>

4\. Paste the following code snippet after the **\<head>** tag.

```
<script src="https://docs.theshoppad.com/smile//d1liekpayvooaz.cloudfront.net/apps/smile/smile.js?shop={{shop.permanent_domain}}"></script>
```

<figure><img src="https://docs.theshoppad.com/smile/assets/smile_fastloading_AS.png" alt=""><figcaption></figcaption></figure>

5\. Save your changes.
