Ditto on the module, but check out ShrinkSafe based on rhino
(http://shrinksafe.dojotoolkit.org). It's a java jar.

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com


-----Original Message-----
From: Brian Mearns [mailto:mearn...@gmail.com] 
Sent: Thursday, March 19, 2009 2:59 PM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Reducing js file sizes...

On Thu, Mar 19, 2009 at 4:30 PM, Tony Anecito <adanec...@yahoo.com>
wrote:
>
> Hi All,
>
> Does anyone know of a module that would strip out the js file
comments? Would be a great thing to have.
>
> Thanks,
> -Tony
>

Not aware of a module specifically, but there are a number of programs
with and without source code floating around that do this. The keyword
you want to search for in "minify". I'm sure you could easily set up
an external filter to use one of them, or simply use a cgi script to
do it, and then your src can be included through that script, e.g.:
<script type='text/javscript'
src='/cgi-bin/minify.cgi?/url/to/myscript.js'></script>

-Brian

-- 
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://pgp.mit.edu/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to