[Phpmyadmin-devel] js loading

Marc Delisle marc at infomarc.info
Tue Mar 23 16:35:27 CET 2010


Dieter Adriaenssens a écrit :

> Interesting stuff, I only read the blogpost you posted earlier.
> Of course, you can't get rid of all included files, a project would be
> very difficult to browse when everything is in one file. ;)
> I wonder if the size of the included files matters? Does a huge
> included file load faster than two smaller ones?
> 
> Greetings,
> 
> Dieter

In his example, the include file he wanted to remove had only 8 lines. 
So I would guess that a huge file loads faster than two smaller ones. Of 
course we also want to avoid code duplication, this is why we use 
include files.

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list