homepage Welcome to WebmasterWorld Guest from 54.237.78.165
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
do php file sizes count in page load time?
sssweb

5+ Year Member



 
Msg#: 4475622 posted 1:21 pm on Jul 14, 2012 (gmt 0)

If I build a webpage using PHP scripts (in various 'include' files) with a total file size of say, 100k, does the 100k add to the page load time for the user? Say the scripts print out a 5k HTML page; is the end result just the 5k, or is it 105k? (I know there are other factors too; my question here is just whether the PHP file sizes factor in.)

 

Leosghost

WebmasterWorld Senior Member leosghost us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4475622 posted 1:26 pm on Jul 14, 2012 (gmt 0)

5k

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4475622 posted 1:35 pm on Jul 14, 2012 (gmt 0)

How long the PHP code takes to run and how big the resultant HTML output is, are the deciding factors.

Every extra include adds a little bit more too

sssweb

5+ Year Member



 
Msg#: 4475622 posted 2:29 pm on Jul 14, 2012 (gmt 0)

Great, thanks. The script time is about average so I guess I'm in good shape.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved