-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

- --On 10.06.2002 05:40:41 -0700 Pascal Van Hecke wrote:

>> Since the require*/include statements are from PHP,
>> they are not
>> touched by our Parser. Therefore the statement will
>> be included
>> verbatim in the cached copy without any expansions.
>  
> ...
>  
>> Snippets are not yet included in the cached page.
>> Instead there are
>> mgd_include_snippet-like calls in the cached page
>> which call Midgard on
>> a lower level to include the snippet.
> 
> Thx!
> Is it correct than to say there's no performance
> difference between mgd_include_snippet and the simple 
> php include()?

It should be small, the only difference is that mgd_include_snippet
comes out of mysql and therefore has some database overhead
(mgd_include_snippet works by path name, which has to be traversed
first). The performance difference will come into play if any filebased
optimizers are used. Filesystem files will be optimized (byte-compiled,
whatever) from enignes like Zend, the Snippets will not.


Live long and prosper!
Torben Nehmer

- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9BKCrJPh4Kn6d5FYRApDBAKDi9jLTNVjLkt3VUO/fksl7zgGYkACg57Gr
dJRoXb9OypUb8kQkr1GfCSc=
=HkIA
-----END PGP SIGNATURE-----


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

Reply via email to