Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll

my Blog
[prev. Lesson]  RSFast: Jscript version by Sterling Bates
     [next Lesson]  RSFast: Error Messages/Customization

Overview: RSFast - Caching System
by Charles Carroll

The current caching method is extremely lightweight and scalable. It merely fills in 2 app variables with 2 strings (the data and field map) and has 2 other application variables (one holds date/time of cache creation, and duration in minutes)

It uses delimited strings, i.e. the data string would be stored as:

' Rockville#c#MD#c#20849#r#<vbcrlf>
' Dallas#c#TX#c#XXXXX#r#<vbcrlf>

and the fieldmap string would be stored as:

' City#c#State#c#Zip#c#

This means cache take up little memory. Since the data is cached not the format, even if it is formatted for a total different "look and feel" the data still comes from the cache.

There are many worthy charities!!. But perhaps help starving children in Africa or South America AND help Charles too. a $5 tip buys him lunch at McDonalds, a $20 tip buys his kid Hitoshi a new computer game, a $39 tip buys his daughter Michiko a few nice outfits. See our donor list.