Cache expiring

Discussion in 'ASP .Net' started by Bogdan Fiedur, Oct 13, 2004.

  1. Hi All,


    Recently our production server asp.net cache expires on average every 5
    seconds.
    Any clues why is this happening and how to fix it.


    Bogdan Fiedur
    Bogdan Fiedur, Oct 13, 2004
    #1
    1. Advertising

  2. Hi Bogdan,

    I don't know why the cache is expiring so fast. What I do though, is
    instead of using the Cache() object directly I wrap it in my own class.
    That class contains the logic to test if the Cache() object I'm looking for
    is Nothing and if it is refill it. Are you setting any dependencies that
    might be triggered? Is your server low on memory? You could maybe try
    setting the priority to high and see if that keeps it around a little
    longer. Also you might want to try testing on another server. If the cache
    doesn't clear as quickly take a look at your IIS and .Net settings. Good
    luck! Ken.

    --
    Ken Dopierala Jr.
    For great ASP.Net web hosting try:
    http://www.webhost4life.com/default.asp?refid=Spinlight
    If you sign up under me and need help, email me.

    "Bogdan Fiedur" <> wrote in message
    news:...
    > Hi All,
    >
    >
    > Recently our production server asp.net cache expires on average every 5
    > seconds.
    > Any clues why is this happening and how to fix it.
    >
    >
    > Bogdan Fiedur
    >
    >
    >
    >
    >
    >
    Ken Dopierala Jr., Oct 13, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Natty Gur

    Re: expiring a page

    Natty Gur, Jul 2, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    403
    Natty Gur
    Jul 2, 2003
  2. Jim Kelly

    Expiring cookies

    Jim Kelly, Aug 1, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    589
    someone
    Aug 5, 2003
  3. Tony Hsieh

    cache expiring prematurely

    Tony Hsieh, Aug 18, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    442
    Mark Fitzpatrick
    Aug 19, 2004
  4. =?Utf-8?B?QWRhbQ==?=
    Replies:
    6
    Views:
    421
    Steven Cheng[MSFT]
    Dec 5, 2005
  5. =?Utf-8?B?RG9u?=

    Cache not expiring!

    =?Utf-8?B?RG9u?=, Aug 3, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    397
    Hans Kesting
    Aug 3, 2006
Loading...

Share This Page