I wrote a Restlet Filter to minify application/x-javascript resources in
afterHandle (using JSMin now, but I'll probably switch to YUI Compressor).

But is that all I can do with it? It feels as though this should be plugged
into the TunnelService, with ways to take requests for foo.min.js, say, and
return a minified foo.js, with caching and all those goodies, yet still
return plain, unminified foo.js when it's requested.

Feels like this must have been done already, but I can't find anything.
Pointers? Advice?

--tim

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2639902

Reply via email to