cache component/code

As a final step in a project I am working on, I would like to implement a
chaching mechanism similar to Netscape's.  The two main features I am hoping
to mimic are the ability to cache the last x bytes of data accessed, and the
option of how often to retrieve new documents (eg. every time, once per
session, never).

Before I set out on this anew, I was wondering if anyone had already done
this, either through code or as a component?  It would save me a lot of time
and brain power, which is at an all-time low right now.

ps. please email a copy to:, as our news feed
is quite flakey currently.

Dean Tessman
Application Development Analyst
Alberta Cancer Board

"This is Rock and Roll Radio.
Come on, let's rock 'n' roll with the Ramones."