[Zope] Javascript obfuscator and Zope

Jean-Marc Orliaguet jmo at chalmers.se
Wed Jan 4 10:05:39 EST 2006


Peter Bengtsson wrote:

>It's not a Zope product but at least it's python.
>http://www.issuetrackerproduct.com/Download#slimmer
>
>It's basically a javascript whitespace optimiser
>Compare
>http://real.issuetrackerproduct.com/tw-sack.js
>with the original:
>http://www.issuetrackerproduct.com/tw-sack.js
>
>More work can be done of course but I wanted to keep it relatively CPU fast.
>It works on CSS and HTML too:
>http://www.peterbe.com/stylesheet.css
>
>  
>

there is "minjs" written in C too: 
http://www.crockford.com/javascript/jsmin.html

this is a one-way process though, and this should also be compared with 
the effect of compressing files while serving them.

/JM




More information about the Zope mailing list