-
-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
As currently implemented, GZipResponseStream buffers whole response and compresses it only upon closing:
This may result in HUGE heap usage when streaming BIG responses, which is primary use case for using compression in responses.
Instead, it should wrap response.getOutputStream() and simply pump content to it. Even better, use some threshold and buffer responses under it, compressing only if response size end up to be over that threshold.
Idea for better implementation:
mhagnumdw and decebals
Metadata
Metadata
Assignees
Labels
No labels