# Few collections on a page with one API request

**URL:** <https://community.weweb.io/t/few-collections-on-a-page-with-one-api-request/1251>\
**Category:** How do I?\
**Tags:** xano\
**Created:** [October 7, 2022, 5:40am UTC](https://community.weweb.io/t/few-collections-on-a-page-with-one-api-request/1251 "2022-10-07T05:40:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![basssab](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@basssab](https://community.weweb.io/u/basssab)\
**Post date:** [October 7, 2022, 5:40am UTC](https://community.weweb.io/t/few-collections-on-a-page-with-one-api-request/1251/1 "2022-10-07T05:40:32Z")

</div>

Hi there!

I am using Xano as my backend. I’d like to be able to make an API call once on page load, store it in the browser’s cache. The saved data I want to then use on this page with filtering in multiple lists.

Does anyone know if this is possible?

---

<div class="post-metadata">

**Author:** ![khairul](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@khairul](https://community.weweb.io/u/khairul)\
**Post date:** [October 7, 2022, 6:47am UTC](https://community.weweb.io/t/few-collections-on-a-page-with-one-api-request/1251/2 "2022-10-07T06:47:56Z")

</div>

Sure that’s possible. It is easy.

1. Create a collection of the Xano data call.

2. Create a custom variable of datatype array. Make sure to check the ‘save in local storage’.  
 ![Screenshot 2022-10-07 at 2.44.39 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/e33210b535ef3c7ea5ce3596b28bf9b4f974fdc9.png)

3. Create a workflow on page load with 2 steps:

- Fetch the xano collection
- Change the custom variable value to the fetched data.  
 ![Screenshot 2022-10-07 at 2.44.58 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/9a362fae0d5dc1cf95ca1964380d7b759f77f05b.png)  
 ![Screenshot 2022-10-07 at 2.45.54 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/2/2b100157c780352836caf5647c0e50ff0dded9fd.png)

Let me know if you need further assistance.

---

<div class="post-metadata">

**Author:** ![basssab](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@basssab](https://community.weweb.io/u/basssab)\
**Post date:** [October 9, 2022, 12:10pm UTC](https://community.weweb.io/t/few-collections-on-a-page-with-one-api-request/1251/3 "2022-10-09T12:10:09Z")

</div>

Thanks for the help
