[Phpmyadmin-devel] js loading

Michal Čihař michal at cihar.com
Thu Mar 25 23:59:57 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

Dne Tue, 23 Mar 2010 16:30:48 +0100
Dieter Adriaenssens <dieter.adriaenssens at gmail.com> napsal(a):

> 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?

Usually yes, but the size matters somehow [*]. For example you can look
at Adminer <http://www.adminer.org/> which is really fast and is
distributed as single PHP file. The development is of course done in
separate files, but on release they are merged into one (at least this
is how I understood authors presentatio, I did not find time to look at
technical details).

[*] All this heavily depends on using of some PHP cache, state of
file system caches, etc.

- -- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkur6u0ACgkQ3DVS6DbnVgTXnwCg0mKHnPhPvHRYJadB3PLBDlAk
y54An3egshIolx3OsgNAM8szvPceZe2P
=05CC
-----END PGP SIGNATURE-----


More information about the Developers mailing list