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.

Chaz Wish List
Tall Tip $5
Grande Tip $20
Venti Tip $39
Tip Jar Thanks
2004 Thanks
2005 Thanks
HUGE Tip -love site