feat(dev): use web fetch handler rather than proxy#1051
Conversation
Bundle Stats — create-nuxt size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
Bundle Stats — nuxi size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset (largest 100 files by percent change)
View detailed bundle breakdownAdded
Removed
Bigger
Smaller No assets were smaller Unchanged
|
Bundle Stats — nuxt-cli size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
commit: |
CodSpeed Performance ReportMerging #1051 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
We could port it to crossws (/node) as Nitro needs this too.
| * Fetch to a specific address (socket or network) | ||
| * Based on Nitro's fetchAddress implementation | ||
| */ | ||
| function fetchAddress( |
There was a problem hiding this comment.
As we have this at least 3 places now (twice in Nitro and here), this could be maintained single place upstream...
🔗 Linked issue
❓ Type of change
📚 Description
this aims to fix some bugs in the current proxy implementation by dropping
httpxyand using fetch directly (as nitro does).much of the implementation is copied from nitro (thank you @pi0 - do you spot any issues here or things we can improve further?):