homepage Welcome to WebmasterWorld Guest from 54.198.139.141
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
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




msg:4475624
 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




msg:4475625
 1:26 pm on Jul 14, 2012 (gmt 0)

5k

g1smd




msg:4475626
 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




msg:4475628
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved