Stop preloading for single page alone

I have dashboard page with service call, from here user can navigate to other pages. While coming back to dashboard again its hitting services so i need to stop pre-loading for my dashboard if user came from anywhere from the navigation’s.

Any suggestions or fixes for this issue?

create a different route for returning home, so that your view is unchanged, but with history you can switch preloading on or off.

You can enable stackPages: true View’s parameter. In this case it won’t remove previous pages from DOM so there will no be any preloads when you go back in history

1 Like

Thanks and its working.