Ian Charnas wrote:
> I realize that I'm moving off-topic, but I think that a CherryPy filter
> (now called a 'hook') is the place to do javascript compression (read:
> removing comments and whitespace, changing variable names to
> single-letters) and also (of course) gzip compression.  A CherryPy
> filter could be made that does both of these things

IMO it would be silly to make your new filter do gzip, as that's
already available as a builtin filter/tool (the overhead of calling a
separate hook for gzip is negligible).

> Has this already been done?  Does anyone forsee more than typical
> trouble with changing the html output as I suggested in the last part
> there?  This seems to be something TurboGears should include, as it's
> useful at the framework level.

+1


Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to