spacewander commented on issue #5343: URL: https://github.com/apache/apisix/issues/5343#issuecomment-966749451
> it may cause performance issue Yes. The log of body is expensive. So we should only log it if need. > Other phase like filter_by_lua may rewrite request and response by other plugin. In practice, it is not a problem. The gzip filter runs after lua filter, so there is no way to log the gzipped response body in the Lua. However, very few people want to log the gzipped body instead of the original one. If people need a 100% real body sent to the client, they should do it in another proxy or a traffic capture sidecar. -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org