> For the complete documentation index, see [llms.txt](https://docs.theshoppad.com/fablet/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/fablet/decrease-fablets-load-time.md).

# Decrease Fablet's load time

Make Fablet redirect mobile shoppers sooner by editing theme.liquid so its script loads before the page finishes rendering.

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**, then click **Themes.**

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

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

3\. Click on the _theme.liquid_ file that's located in the **layout** folder.

<figure><img src="https://docs.theshoppad.com/fablet/assets/fablet-layout-folder.png" alt=""><figcaption></figcaption></figure>

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

```html
<script src="https://docs.theshoppad.com/fablet//d3enctq8nuu8g4.cloudfront.net/js/detect.js?l=1&u={{ shop.permanent_domain | split: '.' | first }}"></script>
```

<figure><img src="https://docs.theshoppad.com/fablet/assets/fablet-faster-loading.png" alt=""><figcaption></figcaption></figure>

5\. Save your changes.
