[GH-ISSUE #4280] [Feature Request] 是否可以增加压缩条件 #3374

Closed
opened 2026-05-05 14:10:32 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @arkerwu on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4280

Describe the feature request

比如100K以下的不压缩,就跟ngnix那样指定一个最小压缩的参数;
太小的数据压缩得到的性能提升有限,并且还会占用CPU,得不偿失;
100K以上的压缩得到的传输加速效果更为明显;

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @arkerwu on GitHub (Jun 14, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4280 ### Describe the feature request 比如100K以下的不压缩,就跟ngnix那样指定一个最小压缩的参数; 太小的数据压缩得到的性能提升有限,并且还会占用CPU,得不偿失; 100K以上的压缩得到的传输加速效果更为明显; ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Jun 14, 2024):

一般来说,建议在自己的应用层做好压缩,不要依赖 frp,frp 的压缩是流式的,效果有限。

<!-- gh-comment-id:2167120830 --> @fatedier commented on GitHub (Jun 14, 2024): 一般来说,建议在自己的应用层做好压缩,不要依赖 frp,frp 的压缩是流式的,效果有限。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3374
No description provided.