unintentional 2 second delay on random API requests #28314
Unanswered
tobywilliams
asked this question in
Questions and Help
Replies: 2 comments 3 replies
-
Same here but I can confirm that intercepted requests also have a 2s delay in our case. Reopening the browser window helps for a few runs. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Can confirm this is still present in v13.16.1 There seem to be some complex triggers for this problem because I was unable create a simple standalone testcase to trigger this 🤷 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are experiencing some problems with our cypress setup. We are using vite + proxy and the cypress intercepts. We've noticed that some of our api/static asset requests (not intercepted) have started routinely taking 2 seconds to complete. It happens fairly consistently on the tail end of the files being loaded but can often add 10+ seconds to load a page.
We use the production build in our CI and we haven't seen the issue there - so I'm fairly sure that the large quantity of files produced by the vite dev build is causing issues however it's only recently that we've noticed the dramatic slowdown in some requests out of each page load.
I've included a screenshot below that shows some of the requests taking also exactly 2 seconds, then the rest come in really fast.
Any help in identifying the source of the 2 second delay would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions