Forums

This topic is locked

<!--incleds-->

Posted 07 Aug 2002 11:21:34
1
has voted
07 Aug 2002 11:21:34 Matthijs Horsman posted:
does a site get slower if you use to much includes? Like an include in an include in an include? Or doesn;t it matter??

Matthijs
----------------
DWMX/W-XP-PRO/IIS/ASP-VB
www.chaps.nl

Replies

Replied 07 Aug 2002 14:08:44
07 Aug 2002 14:08:44 Jon Kerbey replied:
As far as I know it doesn't matter. An include basically just "copies" the code in the included file into the source document.

The file size is determined by the amount of code in the file after everything has been included.

Replied 07 Aug 2002 14:10:23
07 Aug 2002 14:10:23 Matthijs Horsman replied:
Thanx that's reassuring....

Only prob now is DW, he really can't handle to much includes... <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Matthijs
----------------
DWMX/W-XP-PRO/IIS/ASP-VB
www.chaps.nl
Replied 07 Aug 2002 18:30:46
07 Aug 2002 18:30:46 Dave Thomas replied:
I personally wouldn't go overboard with includes.

A few files written correctly, optimising the code will ensure you don't need to start stacking them inside one another.

Generally, I say it would get slower as it has to process all the given includes before anything else.

Just my opinion <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

"Get the kettle on, time for a brew"

Reply to this topic