Is your feature request related to a problem? Please describe.
Attachments uploaded to pastes can be large, leading to increased storage usage and slower uploads/downloads. Users may want more efficient file management and improved performance when handling attachments.
Describe the solution you'd like
Implement automatic or optional compression for attachments before storing them. The feature could support common archive formats (e.g., zip) and be configurable by the user. Optionally, allow users to download compressed or original versions.
Describe alternatives you've considered
- Relying on users to compress files manually before uploading
- Limiting the maximum size of attachments
- No compression, but warning users of large files
Additional context
Compression could be integrated into the upload pipeline and exposed as a setting in the UI. Consider performance impact and compatibility with existing attachments.
Is your feature request related to a problem? Please describe.
Attachments uploaded to pastes can be large, leading to increased storage usage and slower uploads/downloads. Users may want more efficient file management and improved performance when handling attachments.
Describe the solution you'd like
Implement automatic or optional compression for attachments before storing them. The feature could support common archive formats (e.g., zip) and be configurable by the user. Optionally, allow users to download compressed or original versions.
Describe alternatives you've considered
Additional context
Compression could be integrated into the upload pipeline and exposed as a setting in the UI. Consider performance impact and compatibility with existing attachments.