Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > caching asp pages

Reply
Thread Tools

caching asp pages

 
 
Don Grover
Guest
Posts: n/a
 
      12-17-2003
What would be the norm for caching asp pages with an ec-commerce site.
What im after is should i set the cach directives to different types for the
different types of pages in an asp /sql application.
Ie, Dynamic Reports, data entry pages, static menu pages. etc.
Does anyone have any thoughts or guidlines in this ?.
Regards Don


 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      12-17-2003
With ASP.NET, this is much easier. With ASP, you have to write the engine.
The best solution is to create a COM engine that stores the cache and use
GetObject() each time to grab the instance. This is quite time consuming to
program.

Another option is an ISAPI filter on the server to handle cache, but this
requires C++ programming. In most cases, this makes this option a
non-option.

You can store cache in either Application or Session, but you will lose the
ability to web farm, which affects scalability. If the goal is to reduce
cycles burned on common reports, you can do one of two things:

1. First time the report is run, cache a copy of the resulting HTML in a
file. File access here is quicker than crunching the DBMS each time (most
likely SQL Server?)

2. Run common report(s) at night. This can be via an application, or, in SQL
Server, by using the built in HTML capabilities to save the daily report(s).
This is rather efficient for daily reports.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Don Grover" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What would be the norm for caching asp pages with an ec-commerce site.
> What im after is should i set the cach directives to different types for

the
> different types of pages in an asp /sql application.
> Ie, Dynamic Reports, data entry pages, static menu pages. etc.
> Does anyone have any thoughts or guidlines in this ?.
> Regards Don
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable page caching without disabling caching of jpegs andstylesheets etc JimLad ASP .Net 3 01-21-2010 10:13 AM
Netscape caching my asp.net pages... JJ_377@hotmail.com ASP .Net 3 11-25-2005 06:23 PM
Netscape caching my asp.net pages... JJ_377@hotmail.com ASP .Net 0 11-23-2005 08:58 PM
Fragment Caching inside page caching? Troy Simpson ASP .Net 0 01-19-2004 11:57 AM
trouble with caching or caching the trouble Hypo ASP .Net 6 08-01-2003 07:11 AM



Advertisments