GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   php includes vs ssi includes (https://gfy.com/showthread.php?t=267086)

GFED 04-09-2004 05:51 PM

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?

GFED 04-09-2004 06:18 PM

:glugglug

some_idiot 04-09-2004 06:25 PM

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?

Ash@phpFX 04-09-2004 08:43 PM

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

zagi 04-10-2004 12:58 AM

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

V_RocKs 04-10-2004 01:19 AM

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?

GFED 04-10-2004 10:52 AM

Thanks for the answers! :)

sweet7 04-10-2004 11:10 AM

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.


All times are GMT -7. The time now is 05:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123