Integento_Assetsperf is a Magento Module adding a simple compression to the CSS/JS merge functionality.
- JS & CSS : Remove /* comments */ and useless spaces.
- JS & CSS : Insert a script first, or after another one.
<action method="addItemFirst">
<name>custom/custom.js</name>
<type>js</type>
</action>
<action method="addItemAfter">
<after>prototype/prototype.js</after>
<name>custom/custom.js</name>
<type>js</type>
</action>
With modman :
modman clone https://github.com/InteGento/Integento_Assetsperf.git
- @ClaudiuCreanga for his tutorial http://claudiucreanga.me/magento/magento-change-order-css-js.html