Mark Fitzpatrick
1/13/2007 2:47:00 AM
When you said object size is 2ko, did you mean 2 kilobytes? If so, then the
file in question is larger than the byte limit you set. The byte limit of
2000 is less then 2 kilobytes, which is 2048 bytes. Have you tried setting
this to zero, which is the default?
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
<xpander@tiscali.fr> wrote in message
news:1168547260.876094.326920@k58g2000hse.googlegroups.com...
> Hello,
>
> Cache doesn't not work on my web application :(
>
> I have 1 giga memory on server. 80% of memory is free.
> But each time i put an object in cache, 1 second after item is removed
> with "Underused" reason.
> For information, object size is 2 ko.
>
> i add this on my web.config
>
> <caching>
> <cache disableMemoryCollection="false"
> disableExpiration="false"
> privateBytesLimit="2000" />
> </caching>
>
> as see on .Net documentation, i reserve 2mo for caching !!!!!!!!
>
> Can someone know how configure asp.net, IIS or something else for
> activing cache ?
>
> I see a lot of people have the same problem, and i can't see any good
> anwsers ....
>
> Is people from Microsoft on this board can help me
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> Thx, arno
>