maven - Handling javascript aggregation in production vs development environment -


i use yuicompressor-maven-plugin compress , aggregate java scripts / css in our project. refer final java script/ css in required jsps. works fine in production. however, creates problem in development because everytime make change individual js / css, forced rebuild changes reflect. whats best way organize in development able make changes individual files , see them reflecting immediately, while in production can take advantage of aggregation ?

probably depends on setup. use jawr compression , can enable/disable given environment. enabled on prod, pages link 1 huge js , 1 huge css file, compressed. disabled on local , dev, pages return links each of individual js , css files, uncompressed.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -