25 Apr 2024 05:06 PM - last edited on 10 May 2024 03:32 PM by Michal_Gebacki
Hello!
I am seeing this in waterfall analysis. Does any one know what does it mean?
Thanks in Advance..
Solved! Go to Solution.
25 Apr 2024 05:44 PM
Hi!
I think you missed the attachment, or it failed to load. Can you reupload it?
25 Apr 2024 05:49 PM
here is the screenshot -
25 Apr 2024 05:55 PM
Is this a mobile or web session?
25 Apr 2024 06:04 PM - edited 06 May 2024 09:19 PM
If we're talking about web, it means exaclty that "This action occurred while the window was in the background".
For instance, in Firefox, you'd have the Document.visibilityState flag, bg=1 meaning the window is in a background state.
https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState.
In some cases, you might get a message like:
The browser went into the background while the action was active. Timings might not be 100% accurate due to reduced timer resolution
26 Apr 2024 06:05 AM
Hi Eric ,
Thanks for helping with the details . This data is from a mobile device using a browser based application.
Needed some more understanding - This background activity is only being seen when resposne time of this user action is extremely high. So what does it actually mean that the activity is being perfromed in background.
29 Apr 2024 11:12 PM
Hi Swati, so your mobile application is opening a webview inside the app?
Seems like the problem here is that the WebView component is being opened inside the mobile app and the end-user might be switching between apps or minimizing it and causing the Document.visibilityState flag change from visible to hidden.
It might be worth checking if any action during the loading of those resources has conditions based on visibility changes, such as pausing animations, stoping background task or freeing resources for usage optimization that might be reflecting on high duration of your user actions.