Jump to content

PHP Include - does it help loading times?


Dev01

Recommended Posts

The only thing it does is separates each different section of the website into smaller, more manageable files. I wouldn't think it'd affect the loading time, you could certainly perform some tests if your that worried.

Thanks everyone for the replies.

 

I know it makes managing the content easier, however, I wondered, by including the PHP include function, the pages do not have to reload those sections when a new page is selected.

 

Now I think about it though, a HTTP request still has to be made when it loads to get the info from the include file! So I kind of answered my own question!

 

Thanks very much, problem sorted.

 

Regards to all

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.