New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long time to download? #493
Comments
hi! at the moment there is no minified version available -- it's planned and should be available soon. please see also: https://getsatisfaction.com/aloha_editor/topics/minified_aloha_js |
Honestly, the best improvement is going to be removing the statically-included jquery and ext-js libraries. It's just so much bloat. I ended up stripping out jquery and re-compiling it with closure. It would be really great to remove ext-js. You guys are just using it for the widget layout, correct? |
jscheel, after you remove jquery & ext-js, how small does the file get? 2.5~2.6 Mb file is indeed shocking. Not even jQuery library gets that big... |
@antonywu right now you can't remove ext-js, it's essential to the core of aloha. There is a push to move to jquery-ui, but I'm guessing it's going to be a while before that is useable. I don't remember what all I removed, but I got mine down to to 789kb compiled. Still not good, but it's a start, especially when you can get it down more by gzipping and caching it like crazy. |
extjs is replaced with jquery ui in 0.21.x -- see http://aloha-editor.org (also GPL instead of AGPL) |
I've spent a few hours trying to figure out how to use aloha editor properly on a production website. The demos (and aloha-editor.org) seem to include this 2.5MB file which takes a long time to download.
Is there a way to have a smaller file size? The guide (http://aloha-editor.org/guides/using_aloha.html) seems to point to a directory called 'aloha-minified' but I can't seem to find this anywhere in either the repository or the build version.
I'd really love to start using Aloha, but I'm worried it will take far too long for users to download the page at this file size.
Thanks!
The text was updated successfully, but these errors were encountered: