The idea is to create an ant task which uses YUICompressor to dynamically minify our own (or custom for users) js and css files (most of the bigest external ones are already compressed)
Reverted at revision: 1416358
I reopen it for 2 reasons:
I think it's enough OOTB. Now users will have to care in production...
my bad, I am just being ignorant here, I was looking at the response header, my bad, it's working perfectly fine.
Commited initial work at revision: 1310983
Changes description to refer to http://developer.yahoo.com/yui/compressor/ directly rather
Fixes typos in description
I changed the description and removed the estimate
Note that for bigest files we already use compressed versions (ending by min.js, see framework/common/widget/CommonScreens.xml)
You are missing a point Mandeep.
OFBiz is already compressing text files. This is done through the embedded Tomcat. See in ofbiz-containers.xml
<property name="compressableMimeType" value="text/html,text/xml,text/plain"/>
<property name="compression" value="on"/>
So my proposition was only to add an yui-compressor-ant-task to compress those files as described here http://developer.yahoo.com/yui/compressor/
We commit only bug fixes in releases