I don't see exactly what the problems are. Compressing and putting everything in 1 big JS file (and all jQuery files without additional compression in 1 file) will increase the loading speed by some seconds, and compression via GZ or via Apache gzip helps additionally. So one can do it.
If the compression is then down to just 30 or higher with 24 kB will change virtually nothing. One can use whatever tool is preferred. Additional JS files from plugins are loaded separately, but this will not change that much unless you use 10 plugins. On IE a problem to me seems more the single loading of all small images for legend and buttons which takes noticeable time. For CSS you need to take care of the loading order, otherwise some settings will not be correct. armin -------- > > Hi, > > I saw many interesting things concerning compression to improve p.mapper > speed... > > 1) the JS compression algorithm : > http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/ > The author explain that if you use Apache compression (gzip / > mod_deflate), the smallest JS file isn't the smallest gzipped JS file. > So it seems to be very important to chose the good JS compression > algorithm. > > 2) jQuery FAQ concerning compression : > http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_compress_my_code.3F > > 3) License, author, etc... : > What about the lack of license in the distributed files ? I mean all the > comments are often deleted in the JS files after compression. > I saw in the last commit of Armin witch permit to add some pre-defined > licences. > > 4) use PHP to compress JS and CSS files : > > 4a) JS > http://perishablepress.com/press/2007/04/24/compressed-javascript-compression/ > http://perishablepress.com/press/2007/03/26/fast-effective-php-compression/ > The problem of number of files is not solve.. > > 4b) CSS too... > http://perishablepress.com/press/2006/10/23/compressed-css-compression/ > http://www.vaseltior.com/?p=24 in French, but I can make a short > translation in "bad English" if needed. 2 different methods, with one > witch doesn't need to modify the css files. > http://extjs.com/forum/showthread.php?t=1257 > > As far as I'm concerned, I don't know what to do. Moreover, there is the > problem of the pmapper core JS files, but also the plugins... > > Thomas > -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
