How will u decide when to use caching and when to use
viewstate?
Answer Posted / satish v itagi
ViewState has no automatic expiration, it is reloaded with
every page created and served by server. Caching leaves
data away from page life, its scope can be page, session or
application. Caching can have its own custom life span
defined. Conventionally, caching is used for large data.
Bigger viewstate data, slower will be page loading. Bigger
caching, faster will be page loading!
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is dynamic web page with example?
What is the difference between session and viewstate?
What is user control in asp.net?
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
What are Session states available and its Uses?
Will the asp.net validators run in server side or client side?
Elaborate differentiation between Cache and Application?
What is the difference between cache and cookies?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
Who creates jsessionid?
What is caching? Explain.
What is the file extension of web service?
What are the file extensions for razor views?
What is asp.net web pages?
What is the good practice to implement validations in aspx page?