be sure you're importing the tag library for the skin before using the
tag.  that's probably where you're trippin...

<cfimport taglib="/farcry/farcry_core/tags/webskin" prefix="skin">
<skin:cache cacheBlockName="Navigation" cacheName="Primary" days="7">
...all your cached content...
</skin:cache>



On 4/15/05, Kevin Cotton <[EMAIL PROTECTED]> wrote:
>  Steve,
>  I would be that someone.  Thanks for the info but, and I am probably just
> being dense, when I try the <skin:cache></skin> suggestion, I end up with
> most of my content missing.  Sadly, I just moved into mx very recently so I
> may be missing a concept or two.  If someone is willing to be a little more
> specific, or point me to a good source to play catch-up, specifically
> regarding the skin tag, et al, that would be greatly appreciated.
>  thanks 
>  -Kevin
>  
> 
>  Steve Rittler wrote: 
>  Claudio-
> Perhaps you're still a little confused. I'll explain, and even if you
> don't need this info i'm sure someone can use it!
> 
> Your first step is to wrap selected site content or webskin code in
> <skin:cache> tags. What is appropriate? Anywhere navigation links are
> generated (a big one), containers with complex or multiple rules
> applied, and "static" information that doesn't change much (i'm
> thinking of the html page header and footer here).
> 
> Once you've defined these blocks, you can then go into the admin and
> hit that link ("Cache All") to cause a series of CFHTTP requests to be
> spawned that cause all of the defined "cache-able" (i don't even know
> if that is a word) areas on every page of your site to get saved in
> server memory . It's really no different than having your 12 best
> friends each hit a few pages on the site for you, except you don't
> have to thank them later.
> 
> What's the benefit of doing this? The admin takes the first "hit" so
> all site visitors are immediately reaping the benefits of cached data.
>  Pretty smooth.
> 
> Ah, the beauty of cache...
> Steve
> 
> On 4/15/05, Claudio Javier Rosemffet <[EMAIL PROTECTED]> wrote:
>  
>  
>  ok, great !.
> but what about "cache all" link in admin.
> should I use "cache all" from my site or should I "cache" just specific
> pages..?
> what's the best..?
> suggestions will be usefull.
> 
> --------------------------------------------------
> Claudio Javier Rosemffet
> CYF-Argentina (http://cyf.com)
> Mansilla 2410 piso 5� of E
> 1121-Buenos Aires, Argentina
> Tel: (54 11) 4962-1674/5490
> --------------------------------------------------
> 
> ----- Original Message -----
> From: "Steve Rittler" <[EMAIL PROTECTED]>
> To: "FarCry Developers" <[email protected]>
> Sent: Wednesday, April 13, 2005 8:14 AM
> Subject: [farcry-dev] Re: farcry and speed
> 
>  
>  
>  There is a caching engine built in to Farcry that is VERY effective at
> making sites work quickly. I'd recommend you slap this code around
> the navigation nodes first and work your way in from there. I think I
> put it in 4 places on one Farcry site i deployed and saw a 75%
> reduction in load time!
> 
> read this for a "how to"
> 
> http://farcry.daemon.com.au/go/objectid/91FB550A-D0B7-4CD6-F9DB0405D8C478F5
> 
> Steve
> 
> On 4/13/05, claudio rosemffet <[EMAIL PROTECTED]> wrote:
>  
>  
>  hi all,
> I'm about to finish my farcry website successfully.
> From now on, my site are in developer status, but soon it will be in
> production mode.
> I'm having a little problem. Everything goes fine, except for the speed.
> Sometimes, the site becames slow, ie the left frame, navajo tree, etc.
> Sometimes it takes 10 secs to finish the display of the frame.
> I must say there'n no too much items on the tree, and practically nobody
> are surfing it !.
> So, what can I expect when the site are in production mode and hundreeds
> of people surfing it.?
> There's any idea to speed up a farcry site..?
> (mysql with apache - linux)(the database has the indexes successfully
> created)
> Any suggestion or experience about it will be very usefull.!
> regards,
> 
> ---
> 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/
> 
>  
>  --
> 
> -------
> Steve Rittler
> [EMAIL PROTECTED]
> 
> ---
> 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/
> 
>  
>  ---
> 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/
> 
>  
>  
>  
>  ---
>  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/ 


-- 

-------
Steve Rittler
[EMAIL PROTECTED]

---
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