Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Payload Compression #19

Open
n0nuser opened this issue Jun 5, 2024 · 0 comments
Open

Add Payload Compression #19

n0nuser opened this issue Jun 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@n0nuser
Copy link
Owner

n0nuser commented Jun 5, 2024

🚀 Feature Request

Is your feature request related to a problem? Please describe.

  • There is no specific problem at the moment since the backend archetype does not have an active application yet. However, adding payload compression can proactively enhance data transfer efficiency and prepare the archetype for future high-traffic scenarios.

Describe the solution you'd like

  • Integrate middleware that compresses HTTP responses using algorithms such as gzip or Brotli. This will reduce the size of the payloads sent from the server to the client, improving data transfer speeds and reducing bandwidth usage.

Describe alternatives you've considered

  • One alternative is to leave payload compression to be handled by a reverse proxy or CDN. However, having built-in middleware for compression ensures that the feature is available regardless of the deployment environment and provides a consistent performance improvement.

Additional context

  • Payload compression is a common optimization technique that can significantly improve web application performance, especially for users with slower internet connections.
  • Including payload compression in the backend archetype sets a standard for efficient data handling and can serve as a valuable feature for developers who use this archetype for their projects.
@n0nuser n0nuser added the enhancement New feature or request label Jun 5, 2024
@n0nuser n0nuser self-assigned this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant