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

missing retry strategy for fetching modules #9993

Open
espretto opened this issue Oct 28, 2024 · 0 comments
Open

missing retry strategy for fetching modules #9993

espretto opened this issue Oct 28, 2024 · 0 comments

Comments

@espretto
Copy link

espretto commented Oct 28, 2024

Hello there,

the below linked error occurs primarily in mobile safari v17 which reportedly has network issues. Apart from that, mobile safari generally sets a lower timeout on script tags (~60 seconds) when compared to other browsers (5 minutes).

To solve the issue, a retry strategy comes to mind. I cannot speak to the side-effects of such a change but I do see merit in a runtime-option to set the timeout on the bundler level instead of relying on the browser settings.

If I am not mistaken, such functionality would be similar to webpack's chunkLoadTimeout.

script.onerror = function (e) {

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