Answer the question
In order to leave comments, you need to log in
Is it possible to reduce the weight of yii2?
Hello!
Yii2 advanced weighs over 30Mb during installation, I make a website based on it and it has already grown to 100Mb (I connected tinymce and imagemagick), and this is just the functionality of the site. Tell me, is it possible to somehow customize, can delete unnecessary folders so that they do not take up so much space? Who does what? Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
The main question is why? Is 100mb a lot?
You can manually remove everything that is not needed, but there may be problems with a further update.
The only effective thing is to clean composer.json and run update
The main question is that it took you +70mb. I am sure that most of this is graphics, but it has nothing to do with yii.
Another option is to replace the widgets with your own, including js, css, etc. not from your server but from third-party services. So don't keep them to yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question