Long9725 commented on PR #914:
URL: https://github.com/apache/tomcat/pull/914#issuecomment-4187121059

   Apologies for the delayed response — I missed this review earlier. Thank you 
for the thoughtful feedback.
   
   I agree that we should look beyond gzip and move toward a more generic 
compression approach. Supporting additional algorithms such as Zstandard was 
also one of the motivations behind this work. My intention was to approach this 
incrementally in two stages:
   
   1. Improving gzip configuration support as a small and predictable step  
   2. Moving toward a more generic design to support multiple compression 
algorithms as a larger follow-up change  
   
   I split it this way because the first step felt relatively contained, while 
the second seemed likely to require broader architectural discussion and 
potentially significant changes depending on the preferred direction. Given 
your feedback, would you prefer this PR to remain focused on the incremental 
improvements, with the broader compression design handled separately, or should 
this PR evolve toward a more generic compression architecture?
   
   Separately, regarding CompressionConfig — one reason I made changes there is 
that it is also used by the Spring Boot Tomcat integration. While investigating 
how to make these options configurable from Spring Boot, I found that Tomcat 
first needs to expose the relevant configuration properties before they can be 
surfaced on the Spring side.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to