The cache is thead-safe, while reading / writing a static reference
variable is not (at least not without some additional work). Note that
the objects in the cache may not be thread safe, but the cache
collection itself is.
That's one difference.
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 5 Jun 2005 17:54:01 -0700, "inetmug"
<in*****@discussions.microsoft.com> wrote:
Howdy All"
Other then the automatic expiration stuff that you can set when using the
data cache, what the the technical advantages of using the data cache versus
static application variables?
Testing has shown about the same behavior, am I missiing something??
Thanks