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 7609547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:11:52+00:00 2026-05-31T01:11:52+00:00

in ASP.NET, If I use: $<%@OutputCache Duration=3 VaryByParam=* %> or Cache.Insert(Names, mydataset); Does this

  • 0

in ASP.NET, If I use:

$<%@OutputCache Duration="3" VaryByParam="*" %>

or

Cache.Insert("Names", mydataset);

Does this store the cache on the browser or the server? I know they’re two different methods for caching and there are probably several more but I’m trying to find out when the cache is stored on the client browser or on the server and where can I find the pros and cons between cache being store on either of them.

  • 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-31T01:11:53+00:00Added an answer on May 31, 2026 at 1:11 am

    This:

    <%@OutputCache Duration="3" VaryByParam="*" %>
    

    May be cached at both, the server or the client because by default the Location value of the OutputCache directive is Any. See here for reference.

    Now, this:

    Cache.Insert("Names", mydataset);
    

    Will be cached on the server side in the application Cache.

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

Sidebar

Related Questions

In ASP.NET Webforms, I can use <%@ OutputCache Duration=3600 VaryByParam=none%> to cache a web
In ASP.NET MVC2 I use OutputCache and the VaryByParam attribute. I got it working
I use ASP.NET and WCF services in a load balanced web server environment, using
I use LINQ queries in my ASP.NET MVC application and want to use OutputCache
I use Asp.net 4 c# and Page OutPut Cache IN MEMORY for optimizing performances.
Does IIS / ASP.NET make use of TCP keepalive option? What are the config
I am learning ASP.Net and I am trying to use OutputCache - varybycontrol based
I want to use ASP.NET Output cache in my website. If i select Location=Any
Migrating asp.net code (VB.net) to use functions and subroutines as parameters. Using MS Server
I notice a lot of the examples for ASP.NET use Linq2Sql as the datasource.

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.