Merge pull request #35 from nventive/dev/jela/compression
Remove UWP from release build, enable compression
This commit is contained in:
Коммит
ecefca6ae8
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<system.web>
|
||||
<customErrors mode="Off"/>
|
||||
</system.web>
|
||||
|
||||
<system.webServer>
|
||||
<urlCompression doStaticCompression="true" doDynamicCompression="true" />
|
||||
|
||||
<staticContent>
|
||||
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
|
||||
<mimeMap fileExtension=".clr" mimeType="application/octet-stream" />
|
||||
<mimeMap fileExtension=".woff2" mimeType="application/woff2" />
|
||||
</staticContent>
|
||||
|
||||
<httpCompression maxDiskSpaceUsage="500"
|
||||
noCompressionForRange="false"
|
||||
doDiskSpaceLimiting="false"
|
||||
dynamicCompressionDisableCpuUsage="100"
|
||||
dynamicCompressionEnableCpuUsage="0"
|
||||
staticCompressionEnableCpuUsage="0"
|
||||
staticCompressionDisableCpuUsage="100"
|
||||
staticCompressionIgnoreHitFrequency="true">
|
||||
<dynamicTypes>
|
||||
<clear />
|
||||
<add enabled="true" mimeType="application/wasm"/>
|
||||
<add enabled="true" mimeType="application/octet-stream"/>
|
||||
<add enabled="false" mimeType="*/*"/>
|
||||
</dynamicTypes>
|
||||
<staticTypes>
|
||||
<clear />
|
||||
<add enabled="true" mimeType="application/wasm"/>
|
||||
<add enabled="true" mimeType="application/octet-stream"/>
|
||||
<add enabled="false" mimeType="*/*"/>
|
||||
</staticTypes>
|
||||
</httpCompression>
|
||||
</system.webServer>
|
||||
</configuration>
|
|
@ -29,6 +29,7 @@
|
|||
<Content Include="..\Uno.Playground.UWP\Assets\*.png" Link="Assets\%(FileName)%(Extension)" />
|
||||
<Content Include="Fonts\winjs-symbols.woff2" />
|
||||
<Content Include="ts\GoogleAnalytics.ts" />
|
||||
<Content Include="web.config" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -40,6 +41,10 @@
|
|||
<UpToDateCheckInput Include="WasmScripts\**\*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="web.config" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<LinkerDescriptor Include="LinkerConfig.xml" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<system.web>
|
||||
<customErrors mode="Off"/>
|
||||
</system.web>
|
||||
|
||||
<system.webServer>
|
||||
<urlCompression doStaticCompression="true" doDynamicCompression="true" />
|
||||
|
||||
<staticContent>
|
||||
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
|
||||
<mimeMap fileExtension=".clr" mimeType="application/octet-stream" />
|
||||
<mimeMap fileExtension=".woff2" mimeType="application/woff2" />
|
||||
</staticContent>
|
||||
|
||||
<httpCompression maxDiskSpaceUsage="500"
|
||||
noCompressionForRange="false"
|
||||
doDiskSpaceLimiting="false"
|
||||
dynamicCompressionDisableCpuUsage="100"
|
||||
dynamicCompressionEnableCpuUsage="0"
|
||||
staticCompressionEnableCpuUsage="0"
|
||||
staticCompressionDisableCpuUsage="100"
|
||||
staticCompressionIgnoreHitFrequency="true">
|
||||
<dynamicTypes>
|
||||
<clear />
|
||||
<add enabled="true" mimeType="application/wasm"/>
|
||||
<add enabled="true" mimeType="application/octet-stream"/>
|
||||
<add enabled="false" mimeType="*/*"/>
|
||||
</dynamicTypes>
|
||||
<staticTypes>
|
||||
<clear />
|
||||
<add enabled="true" mimeType="application/wasm"/>
|
||||
<add enabled="true" mimeType="application/octet-stream"/>
|
||||
<add enabled="false" mimeType="*/*"/>
|
||||
</staticTypes>
|
||||
</httpCompression>
|
||||
</system.webServer>
|
||||
</configuration>
|
|
@ -298,8 +298,6 @@ Global
|
|||
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x64.Build.0 = Release|x64
|
||||
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x64.Deploy.0 = Release|x64
|
||||
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x86.ActiveCfg = Release|x86
|
||||
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x86.Build.0 = Release|x86
|
||||
{B9799C1B-6092-4DF2-9274-7C127D1AB700}.Release|x86.Deploy.0 = Release|x86
|
||||
{5077C264-AD1A-4FFA-899C-A564F624F161}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5077C264-AD1A-4FFA-899C-A564F624F161}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
|
||||
{5077C264-AD1A-4FFA-899C-A564F624F161}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
|
||||
|
|
Загрузка…
Ссылка в новой задаче