Re: Server Side Include (SSI) is slower than PHP ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 18, 2008 11:22 PM, howard chen <howachen@xxxxxxxxx> wrote:
>
> On Mon, Feb 18, 2008 at 10:47 PM, Nick Kew <nick@xxxxxxxxxxxx> wrote:
> > On Mon, 18 Feb 2008 15:49:09 +0800
> >
> > "howard chen" <howachen@xxxxxxxxx> wrote:
> >
> >
> > > SSI
> >  > ===
> >  >
> >  > <!--#include virtual="modules/1.html" -->
> >  > <!--#include virtual="modules/2.html" -->
> >  > <!--#include virtual="modules/3.html" -->
> >  > <!--#include virtual="modules/4.html" -->
> >  > <!--#include virtual="modules/5.html" -->
> >
> >  There is a subrequest per include, so SSI gets slower
> >  as the number of includes increases.
> >
>
>
> I also believe this could be probably the reasons behind. I haven;t
> look into the code of SSI so I am not sure if Apache will have some
> kind of caching if files to be included remain unchanged. Or will
> Apache parse the SSI file every time?
>
> I agreed that these benchmark is theoretical only, but just get me surprised.
>
> Howard.

Hello all,

Some findings:

http://people.apache.org/~sctemme/ApconUS2006/WE18/WE18_Performance_Up.ppt


Server-side Includes
- They break sendfile()

This should be the reason I think.

Howard

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux