# Need Page Loading to happen only when needed(without a fixed time)

**URL:** <https://community.weweb.io/t/need-page-loading-to-happen-only-when-needed-without-a-fixed-time/21535>\
**Category:** Ask us anything\
**Created:** [August 20, 2026, 8:35am UTC](https://community.weweb.io/t/need-page-loading-to-happen-only-when-needed-without-a-fixed-time/21535 "2026-08-20T08:35:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruak](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@Ruak](https://community.weweb.io/u/Ruak)\
**Post date:** [August 20, 2026, 8:35am UTC](https://community.weweb.io/t/need-page-loading-to-happen-only-when-needed-without-a-fixed-time/21535/1 "2026-08-20T08:35:52Z")

</div>

Hi Webbers!,

I have my app with backend as supabase. For efficient navigation i’ve applied the usual suspects like pagination, preserve on navigation, indexing on backend queries, auto-fetch is off for collections and collections are fetched on need basis(that too only the columns we need), real time being disabled etc.

My issue is : When the app loads the first time in a day or after a few days or when its republished after a bug fix or upgrade, all pages take a few seconds to load (cause probably all the front end stuff is getting downloaded to the cache of the device again), but once each page is loaded once in a session, the consequent navigations are snappy i.e. you don’t need a loading screen/skeleton loading/loading icon.  
Now if i add a loading icon with a fixed time, it runs everytime - even when you don’t need it, which is again not useful, cause i only need the loading to happen when a page needs it so a user knows when the page load is taking time and when its not.

Hence - Is there a way to get loading appear only when needed ?

@Joyce please guide

Cheers

---

<div class="post-metadata">

**Author:** ![TristanBeer](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@TristanBeer](https://community.weweb.io/u/TristanBeer)\
**Post date:** [August 20, 2026, 12:42pm UTC](https://community.weweb.io/t/need-page-loading-to-happen-only-when-needed-without-a-fixed-time/21535/2 "2026-08-20T12:42:46Z")

</div>

I use the built in page loader action and it works great. Essentially when a user clicks on a page link a small loading bar appears at the top of the screen and shows the loading status. When a page loads quickly, it only appears for a split second, often so fast its not even noticeable.

Not exactly what your looking for, as this solution still technically always displays a page loader, but I have had no complaints or confusion from our users regarding load times.

[Page Loader Docs](https://docs.weweb.io/workflows/actions/page-loader.html)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [August 20, 2026, 4:00pm UTC](https://community.weweb.io/t/need-page-loading-to-happen-only-when-needed-without-a-fixed-time/21535/3 "2026-08-20T16:00:30Z")

</div>

Nice one @TristanBeer 🙌

@ruak, if you’re using a loading icon, I would recommend binding its display to the `isLoading` variable of one of your table views as described [here](https://docs.weweb.io/elements/loader.html#loaders-on-table-view-load). If you’re still using old colletions, the related collection variable may be named `isFetching`

In the docs, you’ll see there’s also another approach where you trigger the condition with a workflow. That requires a bit more manual setup but should still suit your use case more than a time delay. Apologies for the outdated image to create a variable. I’ll update it asap:

 ![CleanShot 2026-08-20 at 17.58.56@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/a/c/ac06ce9dfb825f779f321663b999a5ec2b40b255.png)

---

<div class="post-metadata">

**Author:** ![Ruak](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@Ruak](https://community.weweb.io/u/Ruak)\
**Post date:** [August 20, 2026, 4:38pm UTC](https://community.weweb.io/t/need-page-loading-to-happen-only-when-needed-without-a-fixed-time/21535/4 "2026-08-20T16:38:33Z")

</div>

Yes this works beautifully for desktop apps but mobile PWA doesn’t have the loading bar(or does it?) 🫠
