|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 8,120
|
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 |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 8,120
|
![]()
__________________
https://www.flow.page/savethechildren |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: May 2002
Location: Doesn't matter, I'm not buying you another pint!
Posts: 1,511
|
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? |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Nov 2003
Posts: 4,292
|
it all depends on the situation, and how often the dynamic content changes
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Jan 2004
Posts: 1,238
|
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 |
|
|
|
|
|
#6 |
|
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,422
|
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?
|
|
|
|
|
|
#7 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 8,120
|
Thanks for the answers!
__________________
https://www.flow.page/savethechildren |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: May 2003
Posts: 1,792
|
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 |
|
|
|