Ask Experts Questions for FREE Help !
Ask
    Roel Zylstra's Avatar
    Roel Zylstra Posts: 84, Reputation: 14
    Tech entrepreneur, perpetual student,lover of life
     
    #1

    Apr 20, 2006, 01:27 PM
    SSI vs PHP - Which is faster (speed benchmark)?
    Does SSI or PHP use less resources to include one file within another file?

    For example:
    PHP Code:
    <?php include 'file.html'?>
    or
    HTML Code:
    <!--#include virtual="file.html" -->
    LTheobald's Avatar
    LTheobald Posts: 1,051, Reputation: 127
    Ultra Member
     
    #2

    Apr 21, 2006, 06:21 AM
    I couldn't find anything in Google and I don't have any experience with benchmarking of the two.

    I can't see any reason why one would be faster than the other though. They are reasonably simple functions and I don't think there is any validation etc. that would slow either down. I think it just comes down to preference.

    PHP includes can be a little more powerful though as you able to state mandatory pages for include using require(). You can also include pages off other domains which you can't do via SSI.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Need Help Growing Hair Faster [ 18 Answers ]

Does anyone know what I can do to help grow my hair faster? I decided to let someone "MY AUNT" perm my hair and it fell out. My hair use to be down the middle of my back now its to my shoulders. It's really short, I just want my hair back. WHAT SHOULD I DO TO HELP MY HAIR GROW FASTER?

Difference between true air speed and equivalent air speed [ 4 Answers ]

What is the difference between the two and when an aircraft is flying at altitude what is its actual speed

Make hair grow faster [ 5 Answers ]

Hi is there any thing I should eat or pop in to make hair grow faster? I colored my hair and I do not like it but I do not want to color again I just want to grow back my natural hair color

How to make dark hair dye fade faster [ 207 Answers ]

Today I dyed my hair "dark brown" and it came out too dark. I don't want to strip or bleach my hair, I just want to make the color fade a little faster. I've read about several ways to do this and I wanted to know if anyone knew the best method or if any of these really work. Here are the...

Naturally faster? [ 4 Answers ]

Why do African American dominate the sprinting distances so thoroughly. Better still, why is it wrong to acknowledge that this dominance is based on being naturally faster?


View more questions Search