How to set output cache to never expire?

F

Frank Rizzo

Hello, how do I set the output cache on the page to never expire.
Currently I have this at the top of the page, but it's kind of silly.

<%@ OutputCache Duration="100000" VaryByParam="id" %>

Is there a special Duration value that means forever?

Thanks
 
J

Joerg Jooss

Thus wrote Frank,
Hello, how do I set the output cache on the page to never expire.
Currently I have this at the top of the page, but it's kind of silly.

<%@ OutputCache Duration="100000" VaryByParam="id" %>

Is there a special Duration value that means forever?

No. Use any super high value :)

Cheers,
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top