When using captureMode=form, the compression is lz64 (base64).
When using captureMode=json, there's no compression.
Describe the solution you'd like
When using captureMode=json, we could either use gzip by default if possible, or offer another config to allow or not allow the gzip compression.
JS SDK has an option disable_compression: boolean.
Describe alternatives you've considered
Related sub-libraries
[X] All of them
[ ] posthog-web
[ ] posthog-node
[ ] posthog-react-native
Additional context
Thank you for your feature request – we love each and every one!
Is your feature request related to a problem?
When using
captureMode=form
, the compression islz64
(base64). When usingcaptureMode=json
, there's no compression.Describe the solution you'd like
When using
captureMode=json
, we could either usegzip
by default if possible, or offer another config to allow or not allow the gzip compression. JS SDK has an optiondisable_compression: boolean
.Describe alternatives you've considered
Related sub-libraries
Additional context
Thank you for your feature request – we love each and every one!