MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Weird 2000ms delay when loading page from a .local TLD

Open
#1,862 7 comments 3 reactions 1 assignee View on GitHub

@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

AB#38522597

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.