wsCompressionThreshold
This option was added in Profound.js 6
This setting controls compression of messages sent/received by Profound.js's built-in WebSocket server. The setting can be set to a number, in bytes. Messages equal to or larger than the given value will be compressed. Smaller messages will not. The default value is 4096.
Note: The default value should be optimal, in most scenarios. Do not change this value without measuring the effect. Setting to a value smaller than the default will likely degrade performance. See wsOptions for information on what features use the WebSocket server.
Example
"wsCompressionThreshold": 8192
Click here for information on how to modify this setting.
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!