I don't have much idea of the amount of files per directory, but files are
not very big (about 1kB per file / 20 nodes for the heaviest files.) and I
don't think I'll put more than 40 or 50 files at once, so I think
XPathDirectory should fit. 

However, I will try both for optimization purposes.

Yvan


-----Message d'origine-----
De : Askild Aaberg Olsen [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 28 juin 2005 10:45
À : [email protected]
Objet : Re: Directory includes

It depends on the size and number of files. I think a DOM is built for 
each file, and Cocoon quickly runs out of memory then.

For a small number of files, where the filesize is low, the 
XPathDirectoryGenerator works very well. For other cases, the 
alternative approach from Derek is much better.

Askild
-

Derek Hohls wrote:

>Hmm - I could never get this approach to work... and I think
>the  DirectoryGenerator / CInclude approach might be more
>flexible.  Your choice!
>
>

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

Reply via email to