![]() |
romaldus 1/2/2011 |
There are currently 17 js files referenced by an Add page using CKeditor, with some scripts inline in files. The total file size is more than 1MB, with yuiAll.js taking more than half of the total size. All of them seems to be minified. I could replace CK editor, but I know that I couldn't remove YUI without breaking the pages even if I try. Has anyone tried using YUI php loader as an alternative? I could try replacing YUI in the generated pages but it'd probably takes weeks. Line 1: http://localhost/cla...include/json.js Line 31: http://localhost/cla...lude/cookies.js Line 46: http://localhost/cla...lang/English.js Line 50: http://localhost/cla...e/yui/yuiAll.js Line 2087: http://localhost/cla...customlabels.js Line 2092: http://localhost/cla.../ajaxsuggest.js Line 2181: http://localhost/cla...y.dimensions.js Line 2185: http://localhost/cla...tor/ckeditor.js Line 2325: http://localhost/cla...nnerControls.js Line 2835: http://localhost/cla...inputhintbox.js Line 2848: http://localhost/cla.../RunnerPages.js Line 2906: for(var i=0;i<audioLinks.length;i++){var link=$(audioLinks[i]).attr("href");if(link.substr(0,4)=="http"){var fixedLink=link.replace('http://localhost','http://127.0.0.1');if(link!=fixedLink){$(audioLinks[i]).attr("href",fixedLink);}} Line 2911: if(Runner.pages.PageSettings.getTableData(this.tName,"isUseAudio",false)){Runner.util.ScriptLoader.addJS(["http://mediaplayer.yahoo.com/js"]);} Line 3197: http://localhost/cla...ecialclasses.js Line 3208: http://localhost/cla...ig.js?t=AA4E4NT Line 3241: http://localhost/cla...in.js?t=AA4E4NT Line 3250: http://localhost/cla...en.js?t=AA4E4NT Line 3259: http://localhost/cla...lt.js?t=AA4E4NT Line 3268: http://localhost/cla...clude/jquery.js Line 3647: http://localhost/cla...S/RunnerBase.js Line 3710: http://localhost/cla.../jsfunctions.js
|
V
|
velveteen author 1/2/2011 |
please check the "compress javascript files" checkbox before generate your app.
|