Link to home
Start Free TrialLog in
Avatar of raudi
raudi

asked on

With OutputCache Duration what is the maximum amount of seconds you can use?

Hi,

Don't want to use the .NET data caching API for just one .aspx vb page, instead using

<%@ OutputCache Duration="xxx" VaryByParam="None" %>

where "xxx" is the duration in seconds.  Just wondering, can I make it a big number of seconds like 6000 so it'll stay in cache for 100 minutes or should it be limited just a handful of minutes.  At present I'm using 780 seconds.  W2003 Server has lots of memory.

Thanks.
Avatar of nauman_ahmed
nauman_ahmed
Flag of United States of America image

Usually this value is in seconds and will stay that long.  Visit the following URL:

http://www.c-sharpcorner.com/asp/Articles/CachingInASPDPL.asp

HTH, Nauman.
Avatar of raudi
raudi

ASKER

Nauman,

I know that it is in seconds when using the @ OutputCache Duration and I can crank it up 780 seconds, I just wondered if there was a limit on the number of seconds because cause I want to cache just one page for over an hour.
ASKER CERTIFIED SOLUTION
Avatar of ecc204
ecc204

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial