473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Page output caching for database driven pages?

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
Jan 17 '06 #1
1 1322
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

Jan 17 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Martin | last post by:
Hi. I had a very frustrating afternoon and evening but I have got it all under control now so all of a sudden I am in a good mood. I want to share some insights on output caching with you lot. ...
2
by: Tim Mavers | last post by:
Is there a setting in the web.config that will enable page-output caching for an entire site? All the documentation I find on output caching deals at the page or sub-page level. I saw a couple...
3
by: DC | last post by:
Hi, (ASP.Net 1.1) is it possible to (programmatically and globally) deactivate page fragment caching? We have only two scenarios, development stage where we want caching off and testing where we...
2
by: NotGiven | last post by:
I am new to patterns and want to learn how to implement the PAGE CONTROLLER model for a web site that has log-in and where the pages are dynamic database driven pages. I will have many questions...
0
by: jason | last post by:
hi experts, support.microsoft.com/kb/917072 and http://msdn.microsoft.com/msdnmag/issues/06/07/WebAppFollies/ As pointed out in these articles, users might get session variables belong to...
11
by: JJ | last post by:
I want to create a web site with the page content being driven by my sql database. This would form the basis of a simple content management system. i.e. a particular page may be accessed by the...
1
by: beaker | last post by:
Access Database-driven ASP page with embedded RSS feeds Hi, I know very little about web development in general - just some basic html scripting, CSS and a bit of XML. I've inherited a public...
0
by: Bishop | last post by:
Every page of our website have dynamic database driven aspects and we are using some datasource caching now. Even though we need a database driven website, most of our pages would work just fine...
25
by: pereges | last post by:
Hello, I'm trying to build a database driven website for a library management system. The database is stored on a remote server which all of my team mates can access. I've installed MySQL, PHP and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.