Improving ASP Performance With Data Caching
page 2 of 2
by Brett Burridge
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 18119/ 44

Summary and Code Downloads

When to use ASP Caching

Caching is most useful for data that changes - but not too often. For example an e-commerce store could display a list of popular products, or an information site could display a list of press releases. If you have several regions of this information on the same page then the performance increase from caching could be substantial.

Don't forget that it is also possible to build functionality into the admin part of the site so that the cache would be flushed if new content is added to the database. That way the website administrator would not have to wait until the cache timed out in order for new content to appear on the website.

Remember that data stored in Application variables is visible by all the users of the website, so if your site uses extensive personalisation features you may be better off caching data in the Session object.


  • Having trouble understanding other people's ASP code? The ASP Documentation Tool can document your ASP (VBScript and JScript) web applications with the minimum of effort - a free trial version is available!

View Entire Article

User Comments

Title: Lock/Unlock performance   
Name: sedgemonkey
Date: 2005-05-17 12:34:27 PM
Would an app variable that is updated often and checked constantly be a drag on performance? Let's say I had to have a variable that could be updated by several users on the site and it was accessed several times a second... is there any alternative to using application variables?

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2021  |  Page Processed at 2021-12-08 8:35:56 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search