Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- does php file size matter?
June 5, 2005, 3:14 am
rate this thread
Quick question... I have a class that is over 1200 lines of code and 50
KB in size. This file does not display any html, it is just included
and after I call all the necessary functions, I save the data and
display it on my output page.
Here is my confusion - to the best of my understanding, since php is
server side, this file should never be "transferred" to the client,
correct? In other words, whether my class is 100 lines or 10,000 lines,
it shouldn't have any affect on my bandwidth or transfer rate should it?
Please correct me if I am wrong, but I have been operating under the
assumption that the only thing that gets transferred to the client is
the php file after it has been parsed for all html formatting, and the
size of this final product is what affects the speed of transfer.
Thanks in advance.