SSI vs PHP 'Include' - which ones faster?

Discussion in 'PHP' started by tarponkeith, Nov 27, 2007.

  1. #1
    I'm overhauling one of my sites, and was using SSI... Then heard from a buddy that using PHP includes is actually faster, and more efficient, but he had no evidence or speed test to back it up...

    I tried googling it, and couldnt find anyone that had actually done tests...

    Does anyone know; which is faster, php include, or SSI includes?

    Thanks :)
     
    tarponkeith, Nov 27, 2007 IP
  2. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #2
    I don't know, but I decided to do a bit of research myself. I found this thread and a couple others.

    The "conclusion" seems to be that any speed difference is too small to be appreciable. And nobody agrees on which is faster or has proof either way. :p
     
    adamjthompson, Nov 27, 2007 IP
    tarponkeith likes this.
  3. serialCoder

    serialCoder Guest

    Best Answers:
    0
    #3
    i also agree any speed difference is negligible at best :)
     
    serialCoder, Nov 27, 2007 IP
    tarponkeith likes this.
  4. tarponkeith

    tarponkeith Well-Known Member

    Messages:
    4,758
    Likes Received:
    279
    Best Answers:
    0
    Trophy Points:
    180
    #4
    thanks for the responses, exactly what I was expecting I guess... Guess I'll stick to SSI :)
     
    tarponkeith, Nov 27, 2007 IP