Skip to content

Add Attachments Compression Support #73

@SloMR

Description

@SloMR

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIUI changesclientChanges made for the Client sideenhancementNew feature or requestfeatureCreating a new featuretypescriptPull requests that update TypeScript code

    Projects

    Status

    backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions