Skip to content

Conversation

@riyap03
Copy link

@riyap03 riyap03 commented Oct 9, 2025

Large JSON responses (>1MB) with axios were taking 20–30s due to async decompression.
This PR adds a _decompressSync flag for large responses and decompresses them synchronously,
reducing latency. Small responses continue using streamed decompression.

Fixes #7008

@github-actions github-actions bot added the pr::fix PR that fixes a bug label Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr::fix PR that fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Huge Latency between TTFB and TTLB with axios library when system is under load

1 participant