javascript.operators.import - don't cache HTTP errors
Nobody has claimed this yet.
- Dominant language
- JSON
- Stars
- 5.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 186
Description
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
The description says
Only evaluation failures are cached; if a module fails to load or link, the next import may try to load and link the module again. The browser may or may not cache the result of the fetch operation, but it should follow typical HTTP semantics, so handling such network failures should not be different from handling
fetch()failures.
. But this wasn't the case in the spec until recently and browsers still cache the failures. https://github.com/whatwg/html/pull/10327 has changed the spec to not cache the HTTP errors.
What browsers does this problem apply to, if applicable?
No response
What did you expect to see?
A new row in https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import#browser_compatibility that shows which browser doesn't cache the HTTP errors.
Did you test this? If so, how?
I haven't tested this.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
- Browser releases
- Firefox 155 beta
-
A dynamic
import()that fails due to a network or HTTP error is no longer cached as a failure in the module map, so retrying the same specifier can now succeed.
https://www.firefox.com/en-US/firefox/155.0beta/releasenotes/#:~:text=A%20dynamic%20import()%20that%20fails%20due%20to%20a%20network%20or%20HTTP%20error%20is%20no%20longer%20cached%20as%20a%20failure%20in%20the%20module%20map%2C%20so%20retrying%20the%20same%20specifier%20can%20now%20succeed. - https://bugzilla.mozilla.org/show_bug.cgi?id=2055211
-
- WebKit (not released yet)
- Chromium (not merged yet)
- Firefox 155 beta
- Other runtimes
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import
MDN metadata
MDN page report details
- Query:
javascript.operators.import - Report started: 2026-08-23T09:10:40.550Z
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the javascript.operators.import compatibility data entry linked from the MDN page. Check the Firefox release notes and linked WebKit and Chromium issues to verify which browser support is released, then add the corresponding compatibility data and confirm the entry represents HTTP-error retry behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100