SpellCheckerSettings.EnableCallbackCompression Property
Gets or sets whether the callback result data compression is enabled.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to compress data stream; otherwise, false. |
Remarks
When operating via callbacks, the SpellCheckerSettings control can send compressed callback data to compression-enabled browsers, improving the application performance and reducing the traffic. Enabling compression is one of the fastest ways to improve your site’s performance.
To exchange the compressed data, both server and a client must 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 SpellCheckerSettings 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.