How do I know if compression is enabled?

6 posts, 0 answers
  1. Jay O'Brien
    Jay O'Brien avatar
    39 posts
    Member since:
    Dec 2008

    Posted 16 Oct 2009 Link to this post

    I made the changes to web.config and BrowserFile.browser to enable comression and ViewState compression.

    How do I know that the changes actually "worked". Can I do a View->Source and see any changes? How do I know if it is compressing the ViewState (pretty large on some of my pages) and the AJAX calls?

    Thanks!
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 19 Oct 2009 Link to this post

    Hi Jay,

    The information about how to compare the performance/loading time of your pages with and without RadCompression engaged is available in the online resources linked below:

    http://www.telerik.com/help/aspnet-ajax/radcompression.html

    http://blogs.telerik.com/toddanglin/posts/09-01-28/Optimization_Tips_RadCompression_Module.aspx
    http://blogs.telerik.com/toddanglin/posts/09-02-27/Optimization_Tip_RadCompression_for_ViewState.aspx

    Best regards,
    Sebastian
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jay O'Brien
    Jay O'Brien avatar
    39 posts
    Member since:
    Dec 2008

    Posted 19 Oct 2009 Link to this post

    Thanks for the reply. I guess I was just looking for a simple way to tell if I configured my web.config and browsers file correctly. I just want to know if the compression has been enabled very simply. I guess I could hook up a packet sniffer or something, but I was hoping there was an easy way, perhaps a log file or the ability to see something using View->Source on the page, to see if anything is actually being done. Thoughts?
  5. Jay O'Brien
    Jay O'Brien avatar
    39 posts
    Member since:
    Dec 2008

    Posted 19 Oct 2009 Link to this post

    Those articles talk about the size of the Viewstate before and after compression ... Maybe this is a dumb question but how can I check the before/after size on my pages when I enable ViewState compression?
  6. BaiH
    BaiH avatar
    83 posts
    Member since:
    Aug 2008

    Posted 21 Oct 2009 Link to this post

    There are many tools which can help you with this. FireBug, Fiddler to name a few.

    --BH
  7. Jay O'Brien
    Jay O'Brien avatar
    39 posts
    Member since:
    Dec 2008

    Posted 21 Oct 2009 Link to this post

    Thanks. Fiddler is a great app!

    Using this tool did show that AJAX requests and ViewStates are being compressed. I guess I was just expecting Telerik to have some mechanism to a least validate that the web.config changes were made correctly. I felt uneasy about making these changes and just "hoping" that they took effect.

    Thanks,
    Jay
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017