-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Repeated loading of resource requests for web extensions #199269
Comments
When you say duplicates are you saying they are duplicates of the same package.json? Keep in mind we need to load once the the package.json AND the package.LOCALE.json of each extension. |
We rely on browser cache here as these requests set proper cache headers and browser serves them from cache. May be you have disabled the cache. |
In fact, I did not disable the cache, and the same resource will indeed be requested repeatedly. However, it is also true that the browser's strong cache or negotiation cache will hit, so the actual impact on the loading speed may be very small. What will have an impact is actually that in the network panel, many repeated requests are very unfavorable for resource search and problem investigation. |
That's true, but that does not mean an application client should cache request responses. It is error prone. For diagnosing you can also use filtering in the network tab. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Reproduction steps:
package
package.json
orpackage.nls.xxx.json
Version: 1.84.2
Commit: 1a5daa3
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Embedder: vscode.dev
The text was updated successfully, but these errors were encountered: