Evan,
Hi.
> Does Cocoon provide a mechanism by which all pages
> on the site can be cached
> (perhaps via a crawler)? 
Besides the command line, as you note there was a
brief discussion in the past about using
LinkStatusGenerator to do that.  Here's the link:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102510586614217&w=2
Sounds like you want to do this manually on demand. 
If you need to do it automatically at cocoon startup,
you could write a component that calls the
LinkStatusGenerator's generate method and just ignores
the output.  You'd probably do that via the Composable
interface.

> Also, I am building a site that has three versions
> per page (Flash,
> non-Flash, etc.) and that uses cookies to set a
> user's preference. 
...
> Are there caching issues with such an approach?

There have been some recent changes to the caching
mechanism which I haven't followed extremely closely
(the addition of optional "caching points") but that
said, you shouldn't have problems.  In general, all
the logic during pipeline setup will run on every
request (i.e., matchers, actions, etc.) but once the
pipeline is determined the cached version will be
served if its key matches a cached key.  You'd want to
nest a <map:match type="cookie"> or write an action,
or selector.

> Finally, if anyone has any words of wisdom with
> respect to using Cocoon for
> serving multiple versions of a page (from the same
> URL), I'd be happy to
> hear them.

See the above - this is part of cocoon's beauty IMO. 
All logic for your site is encapsulated in one place
using powerful tools.

HTH,
Geoff Howard

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to