yii2 app template too heavy after installed exte nsions

Hello, after installing installing some. extensions into the advanced templalte, it’s now Too heavy (~64MO). After a check in the vendor, i discovered that the boxer an bower-assets are 35MO.

It is a way to reduice my template weight ? I wrote no code inside yet.

Don’t be worried. It’s not a problem at all.

In one of my apps based on the basic template, the vendor directory weighs more than 40 MB. But the app runs lightening fast.

Thanks to the autoloading mechanism, Yii will load only the necessary code into the memory from the vendor directory. The installed extensions usually have a lot of non-runtime stuff like documentation and code for development. They don’t affect the performance of your app, not at all.