Lately, I've been loading a lot of JS and CSS files in my project. In an effort to boost my site's performance, I decided to use YUICompression integrated with Ant build. After each project build, it automatically creates a minified file by appending "-min.js" to the original file name.
For example: "myscript.js" becomes "myscript-min.js" after the build.
Now, I'm in the process of updating all references to load "myscript-min.js" in my pages.
I'm wondering if there is an easier or automated way to load the minified files.
Any suggestions would be greatly appreciated. Thanks in advance!