Stop embedding JS files in Endpoints and Server assemblies #58783
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
Milestone
Stop embedding JS files in Endpoints and Server assemblies, so they benefit from compression. Instead make them ship as static web assets. We can put them in the runtime pack for asp.net core and pick them in the SDK. (P1)
blazor.web.js goes from 180 KB to 43KB with brotli.
blazor.server.js goes from 146.58 KB to 35KB with brotli.
The text was updated successfully, but these errors were encountered: