Skip to content

Enable Brotli/Gzip compression for static files - #141

Merged
axunonb merged 1 commit into
mainfrom
pr/compression
Jun 20, 2026
Merged

Enable Brotli/Gzip compression for static files#141
axunonb merged 1 commit into
mainfrom
pr/compression

Conversation

@axunonb

@axunonb axunonb commented Jun 20, 2026

Copy link
Copy Markdown
Member
  • Added response compression middleware for non-SDK static files with Brotli and Gzip support, including custom MIME types and compression levels.
  • Updated static file handling to ensure correct MIME types for .webmanifest, improved cache headers, and clarified middleware order.
  • Refined static asset serving with MapStaticAssets and WithStaticAssets.
  • Updated NuGet package reference to use PrivateAssets for code generation tools.

* Added response compression middleware for non-SDK static files with Brotli and Gzip support, including custom MIME types and compression levels.
* Updated static file handling to ensure correct MIME types for .webmanifest, improved cache headers, and clarified middleware order.
* Refined static asset serving with MapStaticAssets and WithStaticAssets.
* Updated NuGet package reference to use PrivateAssets for code generation tools.
@axunonb
axunonb merged commit 2e85491 into main Jun 20, 2026
5 checks passed
@axunonb
axunonb deleted the pr/compression branch June 20, 2026 09:53
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant