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
EZP-25713: Reduce size of asset bundle further #13
Conversation
So what is the new size, and what was the old one ? In any case, it looks good. Tiny +1. |
70M => 31M |
You're quite the lumberjack. Bigger +1 then :-) |
😄 Well remains to be seen what @dpobel thinks, he knows better what these files are for, and also if we can reduce 3-4mb more by removing unused stuff in |
All good. Let's merge this to begin with. If we could get a smaller version of assets for the 1.3 release, it would be really cool. |
Sure, but I'm not fully aware what these files removed here do, so would still hold back for UI team review. |
We should create an issue so we could highlight this in the release note. After all, this is a nice improvement of the release people should know about it 😄 |
Added issue |
I'm ok with the change in YUI3 but I'm not on the one for AlloyEditor especially because this will break the PlatformUI Grunt task |
which one? there is 3 besides |
@andrerom I don't really know to be honest, you'll have to test which files are needed for |
Had a look, seems at least |
@dpobel Could you please have a look on this PR? Context: Travis Behat tests fails now on php 5.x as the asset package makes it tip over amount of memory allowed during composer install. I'll increase the 1Gb limit, but If we have this issue, others have as well.. |
YUI: - $YUI3_DIR/build/*/*-debug.js - $YUI3_DIR/build/*/*-coverage.js Alloy: - $ALLOY_DIR/api - $ALLOY_DIR/lib
f6c157c
to
e6caff4
Compare
Updated PR, summary:
So this is good to go, but we will also need to update alloy to 1.x t0 be able to generate skins again, as |
+1 |
+1 FWIW |
It's worth it's weight in gold. In other words: thanks, merging :) |
https://jira.ez.no/browse/EZP-25713
YUI:
Build folder total is 36,7mb, and these files are the biggest once.
Alloy:
This assumes
dist/
folder is all we need in prod.For future tuning we can look into if parts of
dist/
folder can be removed as well, ref: