# Which element is calling the collection?

**URL:** <https://community.weweb.io/t/which-element-is-calling-the-collection/6704>\
**Category:** Ask us anything\
**Created:** [January 31, 2024, 2:55am UTC](https://community.weweb.io/t/which-element-is-calling-the-collection/6704 "2024-01-31T02:55:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![raelyn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raelyn/32/2803_2.png) [@raelyn](https://community.weweb.io/u/raelyn)\
**Post date:** [January 31, 2024, 2:55am UTC](https://community.weweb.io/t/which-element-is-calling-the-collection/6704/1 "2024-01-31T02:55:00Z")

</div>

I am refreshing the page of my app and am seeing a lot of random collections load, when it’s not needed. How do I figure out which element is causing the collection to be fetched?

---

<div class="post-metadata">

**Author:** ![Vi56](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/vi56/32/11392_2.png) [@Vi56](https://community.weweb.io/u/Vi56)\
**Post date:** [January 31, 2024, 7:25am UTC](https://community.weweb.io/t/which-element-is-calling-the-collection/6704/2 "2024-01-31T07:25:12Z")

</div>

Hi Raelyn,

If I understand well you think you bound auto-fetched collections to some random elements and you don’t know which elements? Apart from investigating your tree of elements, I can’t think of any other solution. However, I don’t think it would take very long, as collections can only be binded with “data display” elements.

You can check also the logs if you don’t already. Maybe you will see which workflow contains a fetch collection action (not inside a component workflow)

Hope this answer to your question

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [January 31, 2024, 7:54am UTC](https://community.weweb.io/t/which-element-is-calling-the-collection/6704/3 "2024-01-31T07:54:30Z")

</div>

collections can be bound to anything, for example you can reference a single entry in a text element or in a formula.  
As noted in another topic, collection fetching is either automatic on page load or manual with the “fetch collection” action in a workflow. It’s not tied to the rendering of elements using it.

---

<div class="post-metadata">

**Author:** ![raelyn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raelyn/32/2803_2.png) [@raelyn](https://community.weweb.io/u/raelyn)\
**Post date:** [January 31, 2024, 8:28am UTC](https://community.weweb.io/t/which-element-is-calling-the-collection/6704/4 "2024-01-31T08:28:48Z")

</div>

Do you recommend fetching on page load for the manual way? Wondering what’s the fastest way to fetch the collection that I actually do need for the best user experience. I’m trying to Load that collection first before anything else.

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [January 31, 2024, 9:24am UTC](https://community.weweb.io/t/which-element-is-calling-the-collection/6704/5 "2024-01-31T09:24:03Z")

</div>

if you know you need it as soon as possible I think it’s better to leave it to automatically fetched.

---

<div class="post-metadata">

**Author:** ![raelyn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raelyn/32/2803_2.png) [@raelyn](https://community.weweb.io/u/raelyn)\
**Post date:** [January 31, 2024, 11:16am UTC](https://community.weweb.io/t/which-element-is-calling-the-collection/6704/6 "2024-01-31T11:16:39Z")

</div>

What about manually though? Problem we enabling auto is that it’s being randomly fetched from other pages haha

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [January 31, 2024, 11:37am UTC](https://community.weweb.io/t/which-element-is-calling-the-collection/6704/7 "2024-01-31T11:37:21Z")

</div>

right. I suppose the trigger on page load before fetching the collections should give you a similar timing than autofetch.
