Magento Feature: Merge JavaScript Files
In the previous versions of Magneto, all the Javascript files came with Magento and are placed in “page.xml”, were merged in one link automatically and it was only capable of merging up to 10 JS files. Since version 1.4, a new feature, “Merge JavaScript Files” has added and is not set to Yes by default. We noticed quite a number of people who upgraded their sites are not aware of this change including our existing and new customers, and we have had to answered the same question over and over as some customers thought our Magento themes don’t have the feature.
The “FAQ” finally prompted us to make an entries in the blog.
Below are the screen shots that you can compare how the JS merge worked in previous version, and in v1.4. The new feature is nice if you use your jQuery or custom javascript and need to debug your code. Simply go to System > Configuration > Developer >Javascript Setting, also remember to “flash Javascript/CSS Cache” when you switch it on or off.