users@glassfish.java.net

Re: precompression of static content?

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Wed, 17 Dec 2008 11:20:22 -0800

glassfish_at_javadesktop.org wrote:
> I have compression enabled and working on my server.
> But Is the server capable of doing pre-compression of static content?
> Is my understanding correct that the server compresses each file on the fly when compression is enabled?
> I read there that some other server can pre compress static files to save the duplication of doing it over and over for each request.
>
> ref: http://www.aptivate.org/webguidelines/Compression.html
>
> Second question:
> I read on a blog that the INTEGER value entered for minCompressionSize is in "OCTET". What is the implication of this? Does it impact the integer one enters?
>
It is just an integer in domain.xml.
> Thanks.
> [Message sent by forum member 'russpet' (russpet)]
>
> http://forums.java.net/jive/thread.jspa?messageID=322214
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>