diff --git a/src/statichost/StaticHost/StaticHost.csproj b/src/statichost/StaticHost/StaticHost.csproj
index f6e5fdfb8e..88a7f29d34 100644
--- a/src/statichost/StaticHost/StaticHost.csproj
+++ b/src/statichost/StaticHost/StaticHost.csproj
@@ -11,6 +11,8 @@
false
brotli
+
+ <_BlazorBrotliCompressionLevel>Optimal