>
> - Using cfquery to cache data for e.g. a day.
>
> - Using cfquery to load data to the application scope, only
> reloading after a set period of time (<cfif
> application.refreshtime LT now()>).
I doubt there's a significant performance difference.
You should choose based on what makes most sense for your application. In
most cases, if you're building an application from scratch, I think it makes
sense to use the appropriate memory scopes for caching, instead of having
caching abstracted away from you as the CACHEDWITHIN/CACHEDAFTER attributes
do.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

