Does ASP have a cache tag?

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?
 
J

Jim Buyens

-----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) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
J

Jason Burton

I think I know what you mean.

Try Response.Buffer = TRUE

That'll cache - content before its displayed.

Jason
 

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

Top