Make compression always enabled.

This removes the `compress` feature.
This commit is contained in:
Catherine
2025-11-13 23:22:23 +00:00
parent 9d0a3ac6ad
commit ff8cf9928e

View File

@@ -213,11 +213,11 @@ func PrepareManifest(ctx context.Context, manifest *Manifest) error {
log.Printf("headers ok: %d rules\n", len(manifest.Headers))
}
// Sniff content type like `http.ServeContent`
DetectContentType(manifest)
if config.Feature("compress") {
CompressFiles(ctx, manifest)
}
// Opportunistically compress blobs (must be done last)
CompressFiles(ctx, manifest)
return nil
}