solution. There are 3 reasons I'd use files:
1) I have tens of thousands of unique cached scopes (or will over a
day's course). I cannot be sure my memory is large enough without
adding another GB.
2) I can theoretically recover from a restart without regenerating
things, since they are on the file system
3) In a distribtued/load balanced environment, I could have 2 CF servers
dishing out from the same file system if I use files... (though I don't
need it now....)
In other words, you're right, if I had more juice, and thanks for your
initial article on the tag, since that's what gave me a head start on
the file-based one.
-Dov
Name : CacheTagOutput
Author : Dov Katz
Somewhat Based Upon: cf_scopeCache by Rayomond Camden
[http://www.findarticles.com/cf_dls/m0MLU/4_5/99886537/p3/article.jhtml?
term=
<http://www.findarticles.com/cf_dls/m0MLU/4_5/99886537/p3/article.jhtml?
term=> ]
Created : Jan 9 2004
Last Updated :
History :
Purpose : Allows you to cache partial page content to files
_____
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 9:16 AM
To: CF-Talk
Subject: RE: CFCACHE parts of pages without cfhttp
Why even use the file system? You could easily use the
persistant scopes as
well. See....
well shoot, I could have sworn I blogged it or posted it to by
my web site.
But basically, you can write a custom tag so that you can do
partial page
caching like so:
<cf_cache name="sectionFoo">
content
</cf_cache>
This custom tag would store the data in either the application,
server, or
session cache.
I'll get the code posted to my blog later today.
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

