Comments for Webdeveloper

Visit Webdeveloper.

  1. Mathias Bynens

    2010-05-10 17:26:12

    Nice write-up! Any clue how to make this work on OS X? I get the following error trying to use ‘zipit’: <code>xargs: illegal option -- d</code>

  2. Edwin

    2010-05-10 17:36:14

    @Mathias Bynens: Hmm, it seems xargs on MacOSX has a different (BSD-style?) syntax. http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/man1/xargs.1.html When I find out the right syntax for the Mac, I'll update this page.

  3. Edwin Martin

    2011-08-07 16:31:32

    @Mathias Bynens: You can just leave out the -d ' '. On MacOSX, the zipit script should be echo -n $@ | xargs -I '{}' sh -c "gzip -n -c {} > {}.gz"

  4. vasim

    2013-09-26 19:31:52

    hello Edwin Martin, this htaccess is not working for my site. ex. my css request is abc.css, but it is not returning abc.css.gz, .gz file is present on the server

  5. asas

    2019-08-25 14:19:14

    hello!! Very interesting discussion glad that I came across such informative post. Keep up the good work friend. Glad to be part of your net community. go to my site https://speakerdeck.com/renovationss

Give your comment:

The sum is to prevent spam. Type your comment below.