Buy Questpond's video subscriptions on
huge discount
.
Online: 11750
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
Which type of caching is best?
Posted by
Gopesh9
under
ASP.NET
on 8/7/2012 |
Points: 10
| Views : 3785 | Status :
[Member]
| Replies : 2
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Hey,
There are mainly three types of caching used in ASP.NET.
1. Output Caching.
2. Fragment Caching.
3. Data Caching.
I just want to know, which type of caching is best and why?
G. S.
.Net Developer
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Sheonarayan
on: 8/7/2012
[Administrator]
HonoraryPlatinum
|
Points: 25
0
There is no clear cut answer for this. It depends on scenario and uses. All are for specific purposes
1. Output Caching - It is used when you want to catch the entire output of the asp.net page.
2. Fragment Caching - It is used in case you want to catch the portion of the page, to implement this you will need to bring that portion in user control and use the caching.
3. Data Caching - It is used to cache the frequently used data by the users of the application. Eg. you are getting a data from the database after complicated procedure and you do not want to execute this procedure again and again then you can save this data into Cache and use it every time this data is requested for.
Read about Fragment caching here
http://www.dotnetfunda.com/articles/article1484-how-to-implement-fragment-caching-in-aspnet.aspx
.
Hope this helps.
Thanks
Regards,
Sheo Narayan
http://www.dotnetfunda.com
Gopesh9
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Gopesh9
on: 8/7/2012
[Member]
Starter
|
Points: 25
0
Thank you for your answer, but may be there is some scenario whether we can say that this caching is best from the other one.
G. S.
.Net Developer
Gopesh9
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...