By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,933 Members | 1,243 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,933 IT Pros & Developers. It's quick & easy.

Cache in old ASP

P: n/a
Hello.

Could someone tell me the way(s) of doing cache in old ASP pages?

What i really wanted was to keep in cache for some time the HTML generated
by an ASP page (something like the "@OutputCache" directive of .NET).

Thank you in advance.
Jose Marciano

Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I have not heard of @OutputCache (remember, this is not a .NET group).

Are you talking about buffering the response? If so, you may need to use
Response.Buffer. Note, however, that this is True by default anyway on IIS 5
and higher.
http://msdn.microsoft.com/library/en...bom_resopb.asp

Paul

"Jose Marciano" <Jose Ma******@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
Hello.

Could someone tell me the way(s) of doing cache in old ASP pages?

What i really wanted was to keep in cache for some time the HTML generated
by an ASP page (something like the "@OutputCache" directive of .NET).

Thank you in advance.
Jose Marciano

Jul 21 '05 #2

P: n/a
If there is not a great deal of HTML involved you can put it into an
Application variable and set another variable with a timestamp. When the ASP
page is requested grab the text from the application variable or re-generate
it based on the timestamp.

Or write the html out as an html file and put timestamp in an application
variable. If the html is not too old then redirect to the html page
otherwise re-direct to an asp page that recreates the html.

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Jose Marciano" <Jose Ma******@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
Hello.

Could someone tell me the way(s) of doing cache in old ASP pages?

What i really wanted was to keep in cache for some time the HTML generated
by an ASP page (something like the "@OutputCache" directive of .NET).

Thank you in advance.
Jose Marciano

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.