I see that javascript contributes a lot to my magento2 page weight (1 mb).
I wonder if it could be optimized with r.js when deploying static content or magento2 already uses an optimization tool.
Does anyone have any experience with that?
javascriptmagento2optimizationrequirejs
I see that javascript contributes a lot to my magento2 page weight (1 mb).
I wonder if it could be optimized with r.js when deploying static content or magento2 already uses an optimization tool.
Does anyone have any experience with that?
Best Answer
Yes. It could be optimized by using r.js