i search on internet .most of the answer is use yui compressor…
but not mansion how to use it
cheek this link its not working for me…http://www.scriptiny.com/2013/01/minify-js-and-css-files-in-batch-with-drag-and-drop/
2)and i did not get any solution from Bach compression of html file
any video tutorial for this
**YUI compressor** indeed.
However I don’t think there is much to explain: you put the content of your file in the big textarea and you click Compress.
in 99.99%, you don’t compress HTML content.
i tried but not work for me ..i am installl java for that..but its not help me
Doesn’t work for me either.
No batch option but this might help: http://refresh-sf.com/yui/
i know this website but more than 40 .js and css file .i want to compress at at a time..
> No batch option but this might help: http://refresh-sf.com/yui/
That was what I was suggesting. Maybe I haven’t been clear enough.
>i know this website but more than 40 .js and css file .i want to compress at at a time..
JoshBlackwood thx i will check tomorrow..i am window user…
any video tutorial how to use google developer tool ..
any idea how run this script on windows
Here’s a windows app that uses YUI that allows you to drag, drop, and compress a whole bunch of files at once:
It can even append an extension to make something such as style.css and scripts.js save compressed to style.min.css and scripts.min.js
Same concept as the .bat option you posted, but it provides a GUI front-end instead.
For CSS, I [use SASS](http://sass-lang.com/) `sass –watch style.scss:style.min.css –style compressed` on my Linux (same command should work on MAC). [Windows install guide](http://www.impressivewebs.com/sass-on-windows/).
Even if you are not using SASS in your development you can simply rename your CSS file `*.css => *.scss` and run the above command. Out comes minified version.
I don’t compress HTML, no need if gzip enabled on your server.
JoshBlackwood its work perfectly……i am using git method..
but i am trying windows method ..it will not work..i am noob in java..so just tell me where i please my project and run this .bat file
thx to you all… this problem is solved..work both method for me….
You must be logged in to reply to this topic.