James Mackay wrote: > > Most people probably aren't using the filetemplate (.mgd) files, but > > serving from the database. > > What sort of performance difference is there to having Midgard deliver data from > the Dbase rather than filetemplates?
I'd expect that serving from the database is faster. For filetemplates, for each request I parse the xml file requested plus all template xml files. Directory traversal and xml parsing are going to have more impact per request than the database requests for a page would be my estimation. > How do you enable templates? By applying the patch I sent earlier, having an AddType for the .mgd files (I think that's in midgard-data.conf already) and setting MidgardTemplate to the name of the element files. Emile --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
