Truly Posted May 25, 2007 Share Posted May 25, 2007 Hi guys, as the name says I have a question about the include function. If I have a page that is going to be over 1000 lines of code easily will seperating it into multiple files and referencing them using the include function increase the load time any substantial ammount or will it equal out because it has to grab the info from another file? Link to comment Share on other sites More sharing options...
zppblood Posted May 25, 2007 Share Posted May 25, 2007 I can't answer on the time part (I wouldn't think it would make much of a difference unless you made a file for each line), but would say to make some files to split the code to make it easier for you when you have to edit it. Link to comment Share on other sites More sharing options...
Skemcin Posted May 25, 2007 Share Posted May 25, 2007 I doubt it would be a significant hit on performance. The thing to really look at is will this make maintenance and repurposing easier and/or possible. That might take a priority of any marginal performance issue you have. But, don't just break it up into include files for the sake of shortening it, then you gain nothing - make sure that what you chose to have includes for is for a purpose (i.e. navigation or web form) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.