Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Batch compression or optimization or reduce white spaces of.css .js and .html code

  • This topic is empty.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #43209

    is any tool or software where i bach compress my html css and javascript code….

    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

    #127318
    Kitty Giraudel
    Participant

    **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.

    #127321

    i tried but not work for me ..i am installl java for that..but its not help me

    #127323
    Paulie_D
    Member

    Doesn’t work for me either.

    #127324
    Paulie_D
    Member

    No batch option but this might help: http://refresh-sf.com/yui/

    #127325

    i know this website but more than 40 .js and css file .i want to compress at at a time..

    #127327
    Kitty Giraudel
    Participant

    > 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.

    #127328
    Paulie_D
    Member

    >i know this website but more than 40 .js and css file .i want to compress at at a time..

    Patience….

    #127351

    JoshBlackwood thx i will check tomorrow..i am window user…

    any video tutorial how to use google developer tool ..

    #127355

    any idea how run this script on windows

    #127403
    TreeRoot
    Participant

    Here’s a windows app that uses YUI that allows you to drag, drop, and compress a whole bunch of files at once:
    http://yuilibrary.com/forum/viewtopic.php?p=262

    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.

    #127405
    Alen
    Participant

    For JavaScript, [Google’s Closure Compiler](https://code.google.com/p/closure-compiler/)

    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.

    #127420

    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

    #127504

    thx to you all… this problem is solved..work both method for me….

Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘Other’ is closed to new topics and replies.