| The following examples show the speed and capacity improvements gained by
using Active Cache for ASP. Click
here to download the
source for these pages. Prime Number Example
The prime number example lists the first 1000 prime numbers (a processor
intensive function), which are calculated in the ASP page. The version of
the page using Active Cache should return a response far more quickly
because the page is not recalculated. This example demonstrates a simple
single page cache implementation.
Prime number example
Prime number example with no caching
Advanced prime number example
The advanced prime number example is a similar example showing portions
of page which can be cached. Note the times when the page fragments are
created in the cached and non-cached versions. This example demonstrates
using a page fragment caching technique.
Advanced Prime number example
Advanced Prime number example with no caching
|