Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Page output caching for database driven pages?

Reply
Thread Tools

Page output caching for database driven pages?

 
 
=?Utf-8?B?QmVuIEZpZGdl?=
Guest
Posts: n/a
 
      01-17-2006
What are best practices for page output caching on pages that are dynamically
generated from database tables.

Our site has left-hand navigation that is comprised of dynamically generated
menus of product categories. The categories are taken from several database
tables which rarely change.

This left-hand navigation is included on every single page in the site and
as such is wrapped up in a user-control. However, when I enabled caching on
the user-control, all DHTML and events cease to work properly.

Really confused!

Ben

However, when I tried applying
 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      01-17-2006
Ben,
if the menus are built from data that comes from the database in the form of
a DataSet or DataTable, the most appropriate caching method would be to cache
that DataTable or DataSet and have the control look to the Cache first for it.
You don't need to specifically enable output caching on the control itself.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"Ben Fidge" wrote:

> What are best practices for page output caching on pages that are dynamically
> generated from database tables.
>
> Our site has left-hand navigation that is comprised of dynamically generated
> menus of product categories. The categories are taken from several database
> tables which rarely change.
>
> This left-hand navigation is included on every single page in the site and
> as such is wrapped up in a user-control. However, when I enabled caching on
> the user-control, all DHTML and events cease to work properly.
>
> Really confused!
>
> Ben
>
> However, when I tried applying

 
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
Database Database Database Database scott93727@gmail.com Computer Information 0 09-27-2012 02:43 AM
DataBase DataBase DataBase DataBase scott93727@gmail.com Computer Information 0 09-26-2012 09:40 AM
Fragment Caching inside page caching? Troy Simpson ASP .Net 0 01-19-2004 11:57 AM
Secure Database-Driven output to Web-Controls like Repeater ViperDK \(Daniel K.\) ASP .Net Web Controls 3 08-22-2003 07:37 AM
Secure Database-Driven output to Web-Controls like Repeater ViperDK \(Daniel K.\) ASP .Net Security 3 08-22-2003 07:37 AM



Advertisments