Back to product page

Compression property


Determines if http protocol compression is enabled.

Type

Boolean

Syntax

  • Basic
object.Compression [= value]
The Compression(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodWebServer
valueA Boolean value.

Remarks

When Compression property is set, wodWebServer will compress outgoing data using ZLIB or GZIP algorithms, if client supports them (based on Accept-Encoding header). This usually means speedup of sending responses since returned data may be up to 80% smaller than original data.

Platforms

Windows