Hello Tim,
thanks a lot for having entered an issue. This has been fixed (I've checked
with your code) a few minutes earlier, see
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2682395
.
The remaining size of a target buffer was not taken into account when
filling it.
Best
I just filed issue 1198 which has one file Java program that demonstrates
the problem.
http://restlet.tigris.org/issues/show_bug.cgi?id=1198
http://restlet.tigris.org/issues/show_bug.cgi?id=1198--tim
On Mon, Nov 8, 2010 at 9:03 PM, Tim Peierls t...@peierls.net wrote:
On Wed, Jul 28, 2010 at
On Wed, Jul 28, 2010 at 6:27 PM, Tim Peierls t...@peierls.net wrote:
I wrote a Restlet Filter to minify application/x-javascript resources in
afterHandle (using JSMin now, but I'll probably switch to YUI Compressor).
As of 2.1-M1 (JSE edition), and using the internal connector only, I'm
://www.restlet.org/
http://www.restlet.org
Noelios Technologies ~ http://www.noelios.com/ http://www.noelios.com
De : Thierry Boileau [mailto:thierry.boileau.noel...@gmail.com]
Envoyé : vendredi 27 août 2010 16:21
À : discuss@restlet.tigris.org
Objet : Re: Best way to get automatic
http://www.noelios.com/
*De :* Thierry Boileau [mailto:thierry.boileau.noel...@gmail.com]
*Envoyé :* vendredi 27 août 2010 16:21
*À :* discuss@restlet.tigris.org
*Objet :* Re: Best way to get automatic JavaScript minification in Restlet
Hello Tim,
I'm sorry for my very late answer.
You can
Hello Tim,
I'm sorry for my very late answer.
You can also wrap the response's representation into a custom one that aims
at applying the minification process. You can have a look at the Encoder
filter, especially in the encode method which uses an
EncodeRepresentation.
Best regards,
Thierry
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,
I've handled it differently for Prudence: I create static
unified/minifed files on-the-fly to be served via a Directory. If you
request all.min.js, all .js files in that directory are unified (in
alphabetical order) and minifed. The filter can detect if any of the
source files has been
Perfect, thanks!
--tim
On Wed, Jul 28, 2010 at 7:43 PM, Tal Liron tal.li...@threecrickets.comwrote:
I've handled it differently for Prudence: I create static
unified/minifed files on-the-fly to be served via a Directory. If you
request all.min.js, all .js files in that directory are unified
9 matches
Mail list logo