Lanny,
Each element you cache has a unique timeout, or it can use the default. You
can also manually get around cached pages by specifying usecache=false in
the url.
It does use the server scope so make sure you have enough memory to cache
what you tell it too. It does not have any gargage collection that I am
aware of. Although a <cfset server.<needtolookinsidethetag> = New Struct()>
will erase all cached items.
HTH
-----Original Message-----
From: Lanny R. Udey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 10:18 AM
To: Spectra-Talk
Subject: RE: Performance
HI,
Is there an option to flush this cache like with CFA_generatedContentCache?
I didn't see anything about this.
Lanny Udey
Hofstra University
>>> [EMAIL PROTECTED] Monday, May 21, 2001 >>>
And for super performance you need to check out SuperCache
http://devex.allaire.com/developer/gallery/info.cfm?ID=20C21D89-3392-11D5-83
F400508B94F380&method=Full
SuperCache is based on caching pages in memory keyed on their complete url.
If the application.cfm finds the same key, it grabs it and ends the request.
Usually causing Execution times of 0 to 10 milliseconds on the CF Server.
Of course it really doesn't matter that it is a Spectra app at this point.
Cf_Supercache works on the same concepts as cfa_generatedcontentcache.
Stress testing was done with a Spectra app using SuperCache and it was found
just about impossible to stress the server.
BTW, If you have browser based or user based caching requirements the key
used to cache the content can be customized.
Have Fun.
-----Original Message-----
From: Robin Hilliard [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 6:17 PM
To: Spectra-Talk
Subject: RE: Performance
Like Dave says, cfa_generatedContentCache and other caching options (see
Mary Horvath's caching KB) can get fantastic performance improvements. The
trick is to pick the right things to cache and to name the caches so that
there is a 1-1 correspondence between the generated HTML and the cache name.
Also remember that if you cache in memory you will loose your cache during a
restart - I once wrote a simple script that wddx'ed the server.cfa.cache
scope (where Spectra stores cache info) and saved it to a file before a
restart - reverse the process to get the cache back. I've seen developers
extend the caching idea to store other information along with the cached
HTML, e.g. line to log when the cache is used, list of objects whose method
output is contained in the cache (useful for deleting superceeded caches
when a new version of an object goes live). Be careful to properly lock
stuff when mucking around with the cache structure, see the
cfa_generatedContentCache[Flush] code to get the correct lock names.
Cheers,
Robin Hilliard
Senior Product Support Engineer - Asia Pacific
Macromedia, Inc.
-----Original Message-----
From: Dave Crosby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 22 May 2001 7:30 AM
To: Spectra-Talk
Subject: Re: Performance
You definitely need to separate SQL Server from CF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.