Thanks Charles. I've used a lot of the query caching techniques
mentioned to generate new pages with different parameters but pages with
the same parameters already generated are forced to use the CFCache page
with a time out of course. I've always heard bad things regarding CFCach
and it takes a lot of processing time writing the chached file to disk
and reading the map file to determine whether to use the cached file. I
guess I was wondering if was any other slick way of caching an already
processed pages like samples shown at the CfugToronto gathering with
Common Spot or Etron's page caching model. Perhaps like you say in CFMX
there will be new ways for caching. I'll read more on the CFSaveContent.

Thanks again for your help.


 -----Original Message-----
From:   charles arehart [mailto:[EMAIL PROTECTED]] 
Sent:   Wednesday, April 10, 2002 12:53 AM
To:     [EMAIL PROTECTED]
Subject:        RE: [CFTALKTor] RE: Custom Page Caching Model

Well, do you mean something other than caching the structures in
persistently scoped variables (session, application, server, as
appropriate
to your need)? There are certainly plenty of issues that can arise from
this
(concurrency/locking, synchronization with changes to the underlying
database, if any, and more).

Other possibilities for caching specific parts of a page can be created
with
the new CF5 CFSAVECONTENT tag. That's discussed in an article at
http://www.allaire.com/handlers/index.cfm?ID=21422

Still another caching approach is the CACHEDWITHIN and CACHEDAFTER
attributes of CFQUERY. Since you say the site is database driven, it
would
seem you may be able to leverage that. Again, it's not suitable to all
situations, but worth a look at it.

There are still other approaches that some have used, including caching
objects in Java-based persistent objects, which will become all the more
compelling and performant in the next release, CFMX.

Hope those point you in some interesting directions.

/charlie

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Shane Von Svoboda
> Sent: Tuesday, April 09, 2002 4:52 PM
> To: [EMAIL PROTECTED]
> Subject: [CFTALKTor] RE: Custom Page Caching Model
>
>
> Hello all,
>
> Does anyone have any experience making their own page caching model? I
> have a web content management system drives a very dynamic website
that
> uses two templates to display the entire website (all database
driven).
> I'm currently using the CFCache tag which seems to do an OK job. After
> load testing it definitely increased the .cfm page output from 4
> pages/sec to 43 pages/sec. I would like to create a page caching model
> using structures. Does anyone have any tips or suggestions?
>
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: "Shane Von Svoboda"
> <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
> http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)
>

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "charles arehart"
<[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED])
http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)


-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Shane Von Svoboda" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to