feat(compression): Improve compression implementation (buffering and threshold), add Deno brotli support, add compression tests and dynamic route API
This commit is contained in:
@@ -516,7 +516,7 @@ export class SmartServe {
|
||||
}
|
||||
|
||||
// Apply compression
|
||||
return compressResponse(response, algorithm, effectiveConfig.level);
|
||||
return compressResponse(response, algorithm, effectiveConfig.level, effectiveConfig.threshold);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user