Add support for gzip compression during build and publish (#23611)
* Add support for gzip compression during build and publish 3.2 shipped with gzip compression during build and publish. During the port to 5.0, the build and publish pipeline was different and ended up only during brotli compression during publish. However, during build the app size is now up to 20MB. Statically compressing runtime assets during build reduces the payload size to about 8.5 MB. This should help with faster initial boot ups and perception. * Quarantine test * More quarantine
显示
- src/Razor/Microsoft.NET.Sdk.Razor/integrationtests/Assert.cs 29 个添加, 0 个删除src/Razor/Microsoft.NET.Sdk.Razor/integrationtests/Assert.cs
- src/Razor/Microsoft.NET.Sdk.Razor/integrationtests/Wasm/WasmBuildIncrementalismTest.cs 32 个添加, 1 个删除...azor/integrationtests/Wasm/WasmBuildIncrementalismTest.cs
- src/Razor/Microsoft.NET.Sdk.Razor/integrationtests/Wasm/WasmBuildIntegrationTest.cs 8 个添加, 0 个删除...k.Razor/integrationtests/Wasm/WasmBuildIntegrationTest.cs
- src/Razor/Microsoft.NET.Sdk.Razor/integrationtests/Wasm/WasmCompressionTests.cs 3 个添加, 2 个删除...T.Sdk.Razor/integrationtests/Wasm/WasmCompressionTests.cs
- src/Razor/Microsoft.NET.Sdk.Razor/integrationtests/Wasm/WasmPublishIntegrationTest.cs 18 个添加, 1 个删除...Razor/integrationtests/Wasm/WasmPublishIntegrationTest.cs
- src/Razor/Microsoft.NET.Sdk.Razor/src/BrotliCompress.cs 3 个添加, 3 个删除src/Razor/Microsoft.NET.Sdk.Razor/src/BrotliCompress.cs
- src/Razor/Microsoft.NET.Sdk.Razor/src/GZipCompress.cs 70 个添加, 0 个删除src/Razor/Microsoft.NET.Sdk.Razor/src/GZipCompress.cs
- src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Microsoft.NET.Sdk.Razor.Components.Wasm.targets 60 个添加, 3 个删除...andard2.0/Microsoft.NET.Sdk.Razor.Components.Wasm.targets
加载中
想要评论请 注册 或 登录