# How to speed up showing product on storefront, when it has many variations

**URL:** <https://www.virtocommerce.org/t/how-to-speed-up-showing-product-on-storefront-when-it-has-many-variations/53>\
**Category:** howto\
**Tags:** storefront, performance\
**Created:** [October 17, 2019, 6:29am UTC](https://www.virtocommerce.org/t/how-to-speed-up-showing-product-on-storefront-when-it-has-many-variations/53 "2019-10-17T06:29:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eMazeika](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/emazeika/32/28_2.png) [@eMazeika](https://www.virtocommerce.org/u/eMazeika)\
**Post date:** [October 17, 2019, 6:29am UTC](https://www.virtocommerce.org/t/how-to-speed-up-showing-product-on-storefront-when-it-has-many-variations/53/1 "2019-10-17T06:29:16Z")

</div>

Product page on Storefront might be loading too slowly because of all the **bulky data** that is has. Only the required information in each particular situation should be loaded.  
Increasing the performance for product with tens (or thousands) of **variations** :

- Don’t load the variations at all. You can control this by [ItemResponseGroup](https://github.com/VirtoCommerce/vc-module-core/blob/dev/VirtoCommerce.Domain/Catalog/Model/ItemResponseGroup.cs).  
Calling the load product API with response group without `Variations` flag:

```auto
IItemService.GetById(id, ItemResponseGroup.Full & ~ItemResponseGroup.Variations)

```

This can be set in theme (Liquid template) as well:

```auto
{% paginate collection.products by 5 params {"ResponseGroup":"Manually set the exact product dependencies to be loaded on this page. E.g., 'ItemInfo'"} %}
   {% for product in collection.products%}
     ....
   {% endfor %}
{% endpaginate %}

```

- Load product variations by a separate query. See this issue for details  
[https://github.com/VirtoCommerce/vc-module-catalog/issues/233](https://github.com/VirtoCommerce/vc-module-catalog/issues/233)
