Skip to content

feat: add gzip compression to reduce response payload size#237

Merged
Userunknown84 merged 2 commits into
Userunknown84:mainfrom
Aharshi3614:feat/compression
Jun 24, 2026
Merged

feat: add gzip compression to reduce response payload size#237
Userunknown84 merged 2 commits into
Userunknown84:mainfrom
Aharshi3614:feat/compression

Conversation

@Aharshi3614

@Aharshi3614 Aharshi3614 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Closes #228

Added gzip compression to reduce response payload sizes and improve performance.

Changes:

  • Installed compression package
  • Added app.use(compression()) middleware
  • All JSON responses now compressed

Before:

Response: 1MB
Time: 2 seconds

After:

Response: ~150KB (85% smaller)
Time: ~0.3 seconds

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

@Aharshi3614 is attempting to deploy a commit to the Aditya Sharma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the Hard label Jun 24, 2026
@Userunknown84 Userunknown84 merged commit 42f78d7 into Userunknown84:main Jun 24, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Response Compression (Gzip)

2 participants