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!