Skip to content
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

Closed
Matt888 opened this issue Mar 31, 2012 · 5 comments
Closed

Long time to download? #493

Matt888 opened this issue Mar 31, 2012 · 5 comments
Assignees

Comments

@Matt888
Copy link

Matt888 commented Mar 31, 2012

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!

@evo42
Copy link
Member

evo42 commented Mar 31, 2012

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

@ghost ghost assigned evo42 Apr 19, 2012
@jscheel
Copy link

jscheel commented May 10, 2012

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?

@antonywu
Copy link

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

@jscheel
Copy link

jscheel commented May 15, 2012

@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.

@evo42
Copy link
Member

evo42 commented Aug 6, 2012

extjs is replaced with jquery ui in 0.21.x -- see http://aloha-editor.org (also GPL instead of AGPL)

@evo42 evo42 closed this as completed Aug 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants