# Lazy loading

{% hint style="info" %}
**Who can use this feature?**

* This feature is available for Pro and Enterprise plan users.
  {% endhint %}

### What is lazy loading?

Lazy loading is a way to make your website faster. Instead of loading all the images at once, it loads them only when the user needs them. This helps users see your site faster and prevents them from leaving before it's fully loaded.

{% hint style="info" %}
We won't use lazy loading for videos, images, or iframes at the top of the page. Eager loading will be applied, which makes the page load faster.
{% endhint %}

### How does it help?

Lazy loading can bring these benefits to your site:

* Reduce initial loading time
* Improve score of crucial elements including [FCP](https://web.dev/fcp/), [LCP](https://web.dev/lcp/) at Google PageSpeed and boost your site’s speed score
* Increase customer shopping experience and minimize bounce rate due to slow speed load

### How does it work?

1. In "Speed up customization" -> **Lazy loading**
2. Turn on the Lazy loading images and video & iframes&#x20;

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FqQNDqBcHnTbPEJS36hOD%2Fturn%20on%20images%20and%20video.png?alt=media&#x26;token=d9e2f1fa-4140-4380-89eb-2cbf68cde596" alt=""><figcaption></figcaption></figure>
3. Select pages to apply lazy loading. \
   We support lazy loading for pictures in: Theme assets (file liquid in current theme), Product description, Collection description, Blog post content, Pages.

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FbquHAtuVCk7ciueBzdaA%2Fselect%20pages.png?alt=media&#x26;token=7cffdd87-2174-4263-9931-fbb9ee165096" alt=""><figcaption></figcaption></figure>
4. Click **Save**

If you don't want to apply lazy loading to specific images, insert your file (.liquid file) in Ignore files.&#x20;

{% hint style="info" %}
This requires technical knowledge, contact us through live chat for support.&#x20;
{% endhint %}

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FIivAlA0fsemDEw6BpKGR%2Fignore%20files.png?alt=media&#x26;token=9fca738a-0aa0-4a6d-8686-1855cdba05fa" alt=""><figcaption></figcaption></figure>

### How to check if lazy loading works?

1. Go to your website
2. Right click and click **Inspect**
3. Hit `Ctrl + F` to search `loading="lazy"`\
   \
   If it shows up (as image below), it's working well on your store. Continue check on other pages.<br>

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FxHcga4X0xrzX67dGYVei%2FSEO%20-%20lazy%20loading%201.png?alt=media&#x26;token=acca6afa-56fb-496f-9adb-964f10200570" alt="how to check lazy loading on your store"><figcaption></figcaption></figure>
