-
-
Couldn't load subscription status.
- Fork 1.3k
Closed
Description
Hi, I'm using SwaggerUI with Azure Functions.
So size is quite critical to reduce cold start time.
Currently, the whole app is about 13mbs, after using R2R latest feature of 3.1 core.
And SwaggerUi is around 1.7mb solely.
I'm suggesting to reduce SwaggerUI.dll size by compressing EmbeddedResources
<ItemGroup>
<EmbeddedResource Include="index.html" />
<EmbeddedResource Include="node_modules/swagger-ui-dist/**/*" Exclude="**/*/*.map;**/*/*.json;**/*/*.md" />
</ItemGroup>
For instance, usage of simple zip will reduce size by around 300%.
albertocorrales and Zero3
Metadata
Metadata
Assignees
Labels
p2Medium priorityMedium priority