Does ASP have a cache tag?

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I've got a site where I need to improve performance. In the same page, some
of the dynamically generated output is updated once a day, some several
times a day.

ColdFusion has a cache tag, where HTML output between the tags is cached for
a specified period of time. This increases performance because the code only
runs at the specified interval, and not when the page is loaded.

Does ASP have this feature?
 
-----Original Message-----
I've got a site where I need to improve performance. In
the same page, some of the dynamically generated output
is updated once a day, some several times a day.

ColdFusion has a cache tag, where HTML output between
the tags is cached for a specified period of time. This
increases performance because the code only runs at the
specified interval, and not when the page is loaded.

Does ASP have this feature?

No, I don't believe so. You would have to save a
date/time and a copy of the cached information in the
Application object, and then refresh the cachjed
infroamtion only if the date/time exceed a certain age.

My imprssion is that most use firewalls and proxy servers
for caching. Microsoft Internet Security and Acceleration
Server (often called ISA) is one such product.

ASP.NET supports many kinds of caching, but converting a
large application from ASP is a major undertaking.

I presume you've already reviewed your database access
patterns, eh?

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
I think I know what you mean.

Try Response.Buffer = TRUE

That'll cache - content before its displayed.

Jason
 
Back
Top