Jesse,
thanks for the reply. GZip compression is certainly also interesting, we will 
have a look into that.

But sorry, this was a misunderstanding. I did not mean gzip compression, I 
meant the kind of thing some ajax frameworks do with js:

- put all the code in a single line
- rename all local variables to have single-character names (a,b,c,d...)
- etc.

This is compression and obfuscation in one ;)

Example:
http://maps.live.com/veapi.ashx?v=1.3.1115150037.31

Is it possible to modify the asset service such that it does these things?

Regards
Bastian Voigt


On Thursday 12 April 2007 15:17, Jesse Kuhnert wrote:
> Yeah, it sure can (in fact I think we were probably one of the first java
> based frameworks to do it).
>
> http://blog.opencomponentry.com/2006/12/03/gzip-where-have-you-been-all-my-
>life/
>
> You need to add a regexp pattern to match whatever resources you don't want
> protected here:
>
> http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/module/ta
>pestry.asset.html
>
> Then whatever resources you reference as tapestry IAsset assets will
> automatically have various things done to them. (including gzip compression
> where appropriate)

-- 
Bastian Voigt
Neumünstersche Straße 4
20251 Hamburg
telefon 040/67957171
mobil   0179/4826359

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to