Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7672545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:18:40+00:00 2026-05-31T16:18:40+00:00

Sorry if the question is dumb. Somewhere I read that ASP.NET supports three types

  • 0

Sorry if the question is dumb.

Somewhere I read that

ASP.NET supports three types of caching:

Page output caching [Output caching]

Fragment caching [Output caching]

Data caching

and somewhere

There are two different types of caching in ASP.NET:

* Application caching
* Page output caching

How many types of cache ASP.NET supports?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:18:41+00:00Added an answer on May 31, 2026 at 4:18 pm

    The differences are rather well summarised here:

    Exploring Caching in ASP.Net

    You have listed the same types of caching several times; I’d suggest reading through the link above, and, if you are having more difficulties, come back and ask some more specific questions.

    To summarise the article:

    1. We can use Page Output Caching for those pages whose content is relatively static. So rather than generate a page on each user request, we can cache the page using page output caching so that it can be accessed from the cache itself. Pages can be generated once and then cached for subsequent fetches. Page output caching allows the entire content of a given page to be stored in the cache.

    2. Page Fragment Caching: ASP.NET provides a mechanism for caching portions of pages, called page fragment caching. To cache a portion of a page, you must first encapsulate the portion of the page you want to cache into a user control. In the user control source file, add an OutputCache directive specifying the Duration and VaryByParam attributes. When that user control is loaded into a page at runtime, it is cached, and all subsequent pages that reference that same user control will retrieve it from the cache

    3. Data Caching: Caching data can dramatically improve the performance of an application by reducing database contention and round-trips. Simply, data caching stores the required data in cache so that the web server will not send requests to the DB server every time for each and every request, which increases web site performance. I’d also add that you can also store user data in this cache provided you are aware of the limitations (the length of time the data is available for, for example) as well as data from many other kinds of data store.

    It can also be argued that there are several other kinds of caching ASP.Net supports; for example, you can use State Bags or just straightforward ViewState to cache data between round trips to the client. The Application and Session objects can also be used to cache data (again, with limitations) – but this really also comes under the remit of Data Caching.

    In short, there are numerous places you can squirrel away data in ASP.Net – it’s more about knowing which one to use and when!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

first of all, sorry if that question is dumb but I´m a total newbie
im really sorry for this dumb question, is there actual references in .net version
Sorry if this is a dumb question. I'm writing a simple 3 tier ASP
Sorry if my question seems dumb. I've started using Eclipse Ganymede 3.4 this week
Not a full-time jQuery nor Javascript dev so sorry if dumb question. I think
Sorry for the dumb question, but I'm working with Qt and C++ for the
sorry for asking this dumb question i will try to explain as good as
Sorry if this is a dumb question. I'm using .each to loop through a
Sorry if this is a dumb question, but it is possible to store, and
Sorry if it is a dumb question, but the issue is quite straight forward.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.