give it a try, once you have Java Runtime Environment you can simply
configure one or more batch files and create the optimized version in a
click.

Then the best way to serve it is via pre compressed gzip/deflate and decide
via server if the browser accept which version and serve it.

Specially with big files this practice is suggested rather than
ob_start('ob_gzhandler') et similar, simply because compression could be
expensive for the server.

I had a project called MyMin which aims was to do it, but the service did
not grab enough attention so I created a batch file and I let you manage the
rest:

http://www.3site.eu/yuibompressor/

Known bug right now are with special chars in the first line, I am using a
Python 3000 parser but I am thinking to create a better manager entirely via
C so both Linux and Windows shell could call the file and that's it. Stay
tuned?

Regards

2009/7/4 Damir Zekić <dam...@gmail.com>

>
> On Jul 4, 12:41 am, Samer <samerzia...@gmail.com> wrote:
> > I found it tricky to use an automated combiner thingy in that it
> > doesn't know the order of the javascripts to be added to the page.
>
> I use Sprockets[1] to combine multiple scripts into one file. With
> sprockets you write "require" statements and it automatically manages
> the dependencies for you so that the same file is not included
> multiple times. For example:
>
> //= require <jquery.min>
> //= require "other_script_file
> $(...);
>
> [1] http://github.com/sstephenson/sprockets/tree/master
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to