Skip to main content

ASPxSpellChecker.EnableCallbackCompression Property

Gets or sets whether the callback result data compression is enabled.

Namespace: DevExpress.Web.ASPxSpellChecker

Assembly: DevExpress.Web.ASPxSpellChecker.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool EnableCallbackCompression { get; set; }

Property Value

Type Default Description
Boolean true

true to compress data stream; otherwise, false.

Remarks

When operating via callbacks, the ASPxSpellChecker 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 ASPxSpellChecker 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.

See Also