feat: optimize asset delivery with build-time compression and encoding negotiation

This commit is contained in:
2026-01-29 13:56:10 -06:00
parent e008ee5a12
commit 4deeef2f00
12 changed files with 634 additions and 143 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ url = "2.5"
governor = "0.10.1"
serde_path_to_error = "0.1.17"
num-format = "0.4.4"
tower-http = { version = "0.6.0", features = ["cors", "trace", "timeout"] }
tower-http = { version = "0.6.0", features = ["cors", "trace", "timeout", "compression-full"] }
rust-embed = { version = "8.0", features = ["include-exclude"], optional = true }
mime_guess = { version = "2.0", optional = true }
clap = { version = "4.5", features = ["derive"] }