Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 10th, 2005, 06:10 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Cache certain portions of web page

Hello!

I want to know is it possible to cache a few portions of a web page. For example I have a web page which collects data from a database and also have some static content.

What I want to do is to Save the static content in cache in such a way that each time page loads the page collects the data from database and loads the static content from cache.

Is it possible? If yes how?

Thank you for you time.

Best Regards
Zeeshan Ahmed

 
Old April 21st, 2005, 12:09 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

is it possible?

 
Old April 21st, 2005, 01:14 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Hi it is possible...Put the static content in an user control(ascx) file.Use @OutputCache to cache the output.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Page from Cache Harjinder Forum and Wrox.com Feedback 0 August 8th, 2008 08:53 AM
System.Web.Caching.Cache Error TrivediVishal ASP.NET 1.0 and 1.1 Basics 2 December 18th, 2006 06:58 PM
Page Cache Issue itHighway HTML Code Clinic 2 August 7th, 2005 10:37 PM
Cache dependency on a web file madkaikar_ashish General .NET 0 February 16th, 2005 12:31 AM
Output page cache question flyin General .NET 0 September 11th, 2004 04:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.