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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-09-2004, 05:51 PM   #1
GFED
Confirmed User
 
GFED's Avatar
 
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?
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-09-2004, 06:18 PM   #2
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-09-2004, 06:25 PM   #3
some_idiot
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?
__________________

This AVS pays my mortgage!
some_idiot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-09-2004, 08:43 PM   #4
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
it all depends on the situation, and how often the dynamic content changes
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2004, 12:58 AM   #5
zagi
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
zagi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2004, 01:19 AM   #6
V_RocKs
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?
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2004, 10:52 AM   #7
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Thanks for the answers!
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2004, 11:10 AM   #8
sweet7
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
sweet7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.