Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh session performance 1: Waiting for response from the server. #60

Open
alextok opened this issue Jun 11, 2024 · 0 comments
Open

Comments

@alextok
Copy link

alextok commented Jun 11, 2024

DBSC performs well during active use of the web app but struggles when the device or web app has been idle for a while.

If the device has been unused or a browser tab inactive, the auth cookies will expire. Before allowing workload requests, the cookie needs to be updated. This requires the client to wait for a network call to the session refresh endpoint before workload navigation can proceed. Therefore, there are two requests:

  1. Session refresh request.
  2. Wait for response.
  3. Workload request.

We can address this problem by including a special header in the request with refresh session information. There could be alternative approaches.

Similar issue discussed here: #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant