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

RadCompression...

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 17 Mar 2009, 09:29 AM
I've just followed the instructions on the following articles to add Compression to my application

RadCompression Module
RadCompression for ViewState

In the ViewState compression article it mentions the possibility of shifting ViewState to the Session. This seems like a great idea. What are the pros and cons of this?


1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 17 Mar 2009, 12:17 PM
Hello Rick,

The main advantage to compress the viewstate and put it into the Session is that it will give you the best speed result when you have large amount of kilobytes that has to be compressed and transferred between the client and the server.

On the other hand, this may not be appropriate approach if you set small expiration internal for your Session state or will not work at all if you disable the Session state usage.

Therefore, you need to consider which approach (compressed viewstate only or compressed viewstate Session storage) is more appropriate for your configuration.  You may also examine the performance tests from the blog posts of our evangelist Todd Angin you found on this subject for more detailed comparison.

Kind regards,
Sebastian
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Rick
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or