ASPxScheduler.EnableCallbackCompression Property
Gets or sets whether the callback result data compression is enabled.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.1.dll
NuGet Package: DevExpress.Web.Scheduler
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
This property is in effect if the ASPxScheduler.EnableCallBacks property is set to true
.
When operating via callbacks, the ASPxScheduler control enables callback results generated for the control on the server to be sent compressed for compression-enabled browsers, improving application performance. Callback result compression provides faster transmission time between the server side and compression-enabled browsers.
To exchange the compressed data, both server and a client should agree to do so. The browser sends a header indicating that it accepts compressed content (gzip and deflate are two compression schemes): Accept-Encoding: gzip, deflate. The ASPxScheduler checks if encoding is allowed by the browser, and sends a response with the compressed content: Content-Encoding: gzip
Note
The EnableCallbackCompression property is not in effect if IIS HTTP compression is enabled.
Note
The callback compression is enabled for the entire web site by default. To learn more see the Callback Compression topic.