Welcome to WebmasterWorld Guest from 54.198.74.197

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

do php file sizes count in page load time?

     
1:21 pm on Jul 14, 2012 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 10, 2005
posts:387
votes: 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.)
1:26 pm on July 14, 2012 (gmt 0)

Senior Member from FR 

WebmasterWorld Senior Member leosghost is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Feb 15, 2004
posts:6717
votes: 230


5k
1:35 pm on July 14, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 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
2:29 pm on July 14, 2012 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 10, 2005
posts:387
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members