MODiX
MODiX copied to clipboard
Vue Client Startup Timeout
The initial query against '/api/userInfo` that occurs during startup of the Vue client will generally timeout when the browser is also loading the client's bundled JS files, not because there's anything wrong with the backend serving this call, but because the query is sitting in the browser's queue, behind the JS files.
This occurs pretty reliably in Chrome, with "Developer Tools" open and "Disable cache" selected.
Either the timeout for this call should be increased, or the call should be reorganized so that it does not occur in parallel with the calls to load the JS bundles.