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

feat: Option to use gzip to compress event #814

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abarker-launchdarkly
Copy link
Contributor

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Describe the solution you've provided

LDConfig option enableEventCompression was added for js-server-sdk-common and NodeRequests was modified to support gzip compression of POST bodies if this option is enabled.

@abarker-launchdarkly abarker-launchdarkly requested a review from a team as a code owner March 27, 2025 20:30
Copy link
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 19038 bytes
Size limit: 21000

Copy link
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Size: 15371 bytes
Size limit: 20000

Copy link
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Size: 19893 bytes
Size limit: 21000

@abarker-launchdarkly abarker-launchdarkly force-pushed the abarker/sdk-826/gzip-event-compression branch from a0145e6 to 6ec484d Compare March 27, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant