php includes vs ssi includes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GFED
    Confirmed User
    • May 2002
    • 8121

    #1

    php includes vs ssi includes

    Do they slow down the site a lot? Bog down your server? I use the fuck out of them...

    I started to switch everything to php includes... which is better?
    https://www.flow.page/savethechildren
  • GFED
    Confirmed User
    • May 2002
    • 8121

    #2
    https://www.flow.page/savethechildren

    Comment

    • some_idiot
      Confirmed User
      • May 2002
      • 1511

      #3
      Both are parsed so it's a 50/50 there.

      PHP being a complete language though, I'd say you're going to
      take a greater hit on the module running unless it's been
      optimized to match the XSSI calls at the beginning of the code.
      I haven't looked at the source in years, ... PHP experts want to
      sound off?

      This AVS pays my mortgage!

      Comment

      • Ash@phpFX
        Confirmed User
        • Nov 2003
        • 4292

        #4
        it all depends on the situation, and how often the dynamic content changes

        Comment

        • zagi
          Confirmed User
          • Jan 2004
          • 1238

          #5
          I've had good success running SSI in general, but I think the load associated with PHP includes could be about 10% less, hence not much difference in the real world. If you already have Apache compiled with PHP added, I would suggest continuing to use that, otherwise try the SSI includes, but those might need to be enabled/(loaded) mod_include for you to run SSI scripts
          Managed US/NL Hosting [ [Reality Check Network ]
          Dell XEON Servers + 1/2/3 TB Packages ICQ: 4-930-562

          Comment

          • V_RocKs
            Damn Right I Kiss Ass!
            • Nov 2003
            • 32449

            #6
            Go to any news organizations website and notice that the entire site is being built dynamically with a load of shit comming from every direction... SSI and PHP includes aren't going to make your shit go slower until you are hitting 10+ hits a second, so unless you are doing 800,000+ hits a day, forget about it and start worrying about real shit. Like, how am I going to get 800,000 hits a day so I can start worrying about Big Boys problems?

            Comment

            • GFED
              Confirmed User
              • May 2002
              • 8121

              #7
              Thanks for the answers!
              https://www.flow.page/savethechildren

              Comment

              • sweet7
                Confirmed User
                • May 2003
                • 1792

                #8
                I've noticed that php includes tend to be a little slower than SSI includes which sucks if you're using php for other things.
                ICQ: 282814268

                Comment

                Working...