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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:34:48+00:00 2026-05-13T08:34:48+00:00

I have an application that uses the application cache to store the responses generated

  • 0

I have an application that uses the application cache to store the responses generated but custom HTTP handlers. The same response is always returned to requests for the same URL, and the entire response is inserted whole into the cache.

If an application is caching per-URL, is there any advantage to using the application cache? Or should I just be using the output cache?

Note that because I’m using a custom HTTP handler, all of this is being done in C#, not in page directives.

  • 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-13T08:34:48+00:00Added an answer on May 13, 2026 at 8:34 am

    Assuming you do not use authorization and no dynamic content, the lower level you go the better the results. The lowest level is kernel mode caching. http://learn.iis.net/page.aspx/154/walkthrough-iis-70-output-caching/

    Think of it in terms of an office.
    Technically the request chain is: The boss, a secretary, an answering machine, and the phone line provider.

    Imagine an office without a secretary. The boss have to answer every call. This is a scenario without a cache at all.

    Application cache is a secretary. It handles the calls so the boss (application) don’t have to answer just to tell the same thing over and over.
    Secretary is someone who sits between the boss and external world. She can handle most simple scenarios. The boss get’s bothered when there’s no secretary at work (low memory).

    But the secretary is a human, so she goes home at some time in the evening (ASPNET application recycles at some time, and application cache get’s exposed, so in terms of ASPNET the secretary shares same app donain with the boss).

    Here an answering machine comes to play. Not only it can screen a secretary from answering stupid questions over and over again, it screens the boss when no secretary is available. It’s just a machine, and the client listens to a nice prerecorded voice or a music (cached item) when neither secretary, no boss can answer them.

    IIS caching kernel mode is the answering machine for your asnet “office”. An answering machine is much cheaper then a secrtetary. It’s just a microcontroller with a tape, it does not even consume coffee, it just plays back a tape or something of that kind.

    Well it runs on the same box, but it performs much better, because it just does the simple task of giving out content on maximum speed with it’s own low level system resources management.

    That said, kernel mode is the perferred way to cache, if you have semi-dynamic content in terms of performance.

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

Sidebar

Ask A Question

Stats

  • Questions 406k
  • Answers 406k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You will need a SMS gateway. A lot of them… May 15, 2026 at 6:15 am
  • Editorial Team
    Editorial Team added an answer Given the method signature you provided, you can 'simply' unit… May 15, 2026 at 6:15 am
  • Editorial Team
    Editorial Team added an answer looks like just this will do it ob_get_contents May 15, 2026 at 6:15 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.