Part 2: Compress AJAX Callbacks - Enhance ASP.NET Controls Performance

04 December 2008

Check out this 5 minute video ASPNET Callback Compression moviewhich shows how to ‘Enhance Performance With Callback Compression’.

The EnableCallbackCompression property speeds up your website by compressing the data sent over an AJAX callback (using our controls). Compression is great because:

  • Speeds up the network by reducing traffic
  • Pages respond faster
  • Relatively cheap way to get a performance boost

For controls like the ASPxScheduler, which has a lot of information to send/receive over a callback, compression is a welcome addition. However, you may not always want to use this feature with every control. Watch the video to learn when to Not to compress callbacks. Wink

And in the video you’ll also:

  • See a comparison of the compression turned Off and On (using Fiddler)
  • Learn when to use this property (and when not to)
  • See exciting stats we saw when testing this feature

To try this feature in your own websites, grab a copy of DXperience 2008 volume 3 and set the EnableCallbackCompression property to true!

This is the 2nd post on the very cool performance enhancements we introduced in this latest release. In the next and last post on this series, I’ll introduce the Combine Scripts feature.

Related Videos:

Enhance ASP.NET Controls Performance – Part 1: Menu

Until then, check out the part 2 video on compressing callbacks and try this feature in your own web projects. Then drop me line here on how much you love this new feature!

Part 2: Compress AJAX Callbacks - Enhance ASP.NET Controls …

Pingback from  Part 2: Compress AJAX Callbacks - Enhance ASP.NET Controls …

4 December, 2008
The ASPx Blog - Mehul Harry's DevExpress Blog

Check out this 4 minute video which shows the new ' Automatic Combine Scripts ' feature of DevExpress

5 December, 2008
Claus Bogner

AWESOME!

After watching the video, I played around a bit with a very large ASPxGridView I have on one of my sites.

With enablecallbackcompression I could reduce the network traffic produced by the pager from 500KB to only 33KB!

That's not only cool, that's really awesome.

Thanks a lot!

8 December, 2008
Enhance ASP.NET Controls Performance ??? Part 1: Menu - The ASPx Blog - Mehul Harry's DevExpress Blog

Pingback from  Enhance ASP.NET Controls Performance ??? Part 1: Menu - The ASPx Blog - Mehul Harry's DevExpress Blog

9 December, 2008
The ASPx Blog - Mehul Harry's DevExpress Blog

Here are 3 reasons to make fewer web request calls and why it benefits your website: Browser Connection

10 December, 2008
Chan Kok Kiet

Hi,

I am considering to implement server side viewstate in my web app to improve performance. I would like to know, would EnableCallbackCompression + server side viewstate improve even more performance?

Thank you

12 June, 2009
Mehul Harry (DevExpress)

Hello Chan,

Not sure if server side view state will help because there is still a cost in saving/retrieving the data on the server side. For a good overview, check out Dino's article here: http://is.gd/12Lzh

15 June, 2009
Marco Alves

I have a class that compress viewstate and then puts it into the memory. I saves lots of kilobytes...

If anyone wants it, send me an email to marco2250@gmal.com

7 September, 2009

Please login or register to post comments.