httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerome Renard <jerome.ren...@gmail.com>
Subject Re: Minification of js files.
Date Tue, 03 Nov 2009 11:40:32 GMT
Jaysingh,

On Tue, Nov 3, 2009 at 12:15 PM, Jaysingh Samuel
<jayasingh.samuel@hotmail.com> wrote:
>
> Hi,
> Thanks for your input.
> Yes we could use this, but could you tell me how this can be used in the apache for minifying
the javascript. Should we have to include in any module like filter module.
> Please guide me on this.

We you try to achieve is not quite clear to me (sorry, tired today).
But what I would do is the following :

For each JavaScript file in your application you can run either jsmin
(or yuicompressor : http://developer.yahoo.com/yui/compressor/)
in order to reduce them to the bare minimum. And then you can
configure mod_deflate to compress those files on the fly if you want.

Did that help you ?

:)

Mime
View raw message