Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / January 2007

Tip: Looking for answers? Try searching our database.

ASP 2.0 and Cache => not work for me

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xpander@tiscali.fr - 11 Jan 2007 20:27 GMT
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
Mark Fitzpatrick - 13 Jan 2007 02:46 GMT
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?

Signature

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

> Hello,
>
[quoted text clipped - 25 lines]
>
> Thx, arno

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.