MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Weird 2000ms delay when loading page from a .local TLD
Open
@champnic is already working on this.
Since Oct 29, 2021.
bug
priority-low
tracked
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Description
I'm handling WebResourceRequested to serve local content.
When using .local TLD (e.g. http://content.local), there is a weird 2000ms delay between loading the page and loading its dependencies:
+++> Requested at 00000ms http://content.local/popup.html
+++> Requested at 02002ms http://content.local/public/css/base.css
+++> Requested at 02003ms http://content.local/public/css/popup.css
+++> Requested at 02005ms http://content.local/public/js/base.js
When replacing "local" with, say, "locad" or "com", there is no delay:
+++> Requested at 00000ms http://content.locad/popup.html
+++> Requested at 00018ms http://content.locad/public/css/base.css
+++> Requested at 00019ms http://content.locad/public/css/popup.css
+++> Requested at 00021ms http://content.locad/public/js/base.js
Same goes when using .local, but adding another label to the hostname, e.g. some.content.local:
+++> Requested at 00000ms http://some.content.local/popup.html
+++> Requested at 00015ms http://some.content.local/public/css/base.css
+++> Requested at 00017ms http://some.content.local/public/css/popup.css
+++> Requested at 00018ms http://some.content.local/public/js/base.js
Version
SDK: 1.0.1018-prerelease
Runtime: 95.0.1020.30
Framework: WPF
OS: Win10
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.