> First of all, your query times do not look that discouraging. 
> However, you have lots of white space on your page. (To me, 
> it seems you are sending the entire FarCry code to the 
> browser.) I would recommend to make copius use of 
> ColdFusion's <cfsetting> tag, wrapping not only your page 
> templates but the display handlers, too:

I really think that the database is the biggest issue, fourq.cfc is accessed
alot! I'm also using the <cfsetting> tag already. But I've found out that
<con:container label=""> is producing many whitespaces, havn't had the time
to look into it thou. Gonna look this over tonight.

> On to your cache question: On our site, the code looks like 
> shown below. 
> We almost always cache entire containers. (There is also a 
> tutorial on the FarCry web site that should give you an idea 
> about FarCry's caching
> abilities.)
> 
> ...
> <cfimport taglib="/18sfarcry/farcry_core/tags/webskin" 
> prefix="skin" /> ...
> <!--- cache the main content area --->
> <skin:cache
>       cacheBlockName="section"
>       cacheName="#cacheName#"
>       minutes="240"
>  >
>       <!--- the main column container goes here --->
>       <con:container
>               label="#stObj.objectID#_main"
>       >
> </skin:cache>
> ...
> 
> Using the technique described, I usually get the time down to 
> approximately a tenth of the time the uncached version needs to load.

Yeah on most my pages (dmHtml) I cache the whole page. But if you call an
dmNews object Farcry (index.cfm) calls the display handler directly and then
there's no container above to cache.

/ daniel



---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to