Kirkens Bymisjon Troms� wrote:
> I wonder if someone please can tell me the basics about attachments. Where are they
> stored,
In the blobdir as specified in your apache config
> how do I easy get in touch with them,
You can list them, serve them, update them, etc given you know what
object they're
attached to.
> can I put them under an active page
Yes.
> and are attachments slower than putting the attachments in the file system?
Page attachments are handled by mod_midgard directly. You lose some
performance since
mod_midgard has to do the URI parsing, on the other hand you probably
win some since
apache won't have to traverse the directory tree to find it (and look
for .htaccess files
on the way).
Other attachments are handled by having a page (probably an active page)
call
mgd_serve_attachment. Once that method is called streaming the
attachment out should
be 'near native', but you'll always have the overhead of mod_midgard,
plus the setup
and reset of the PHP environment.
IOW: better do benchmarks in a situation that resembles your live setup.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]