This is a migrated thread and some comments may be shown as answers.

How do I know if compression is enabled?

5 Answers 176 Views
Compression
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 16 Oct 2009, 11:25 PM
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!

5 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 19 Oct 2009, 04:18 PM
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.
0
Gary
Top achievements
Rank 1
answered on 19 Oct 2009, 04:53 PM
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?
0
Gary
Top achievements
Rank 1
answered on 19 Oct 2009, 05:23 PM
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?
0
BaiH
Top achievements
Rank 1
answered on 21 Oct 2009, 06:38 AM
There are many tools which can help you with this. FireBug, Fiddler to name a few.

--BH
0
Gary
Top achievements
Rank 1
answered on 21 Oct 2009, 08:27 PM
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
Tags
Compression
Asked by
Gary
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Gary
Top achievements
Rank 1
BaiH
Top achievements
Rank 1
Share this question
or