Saturday, May 23, 2015

Re: gwt 2.5/PrecompressLinker useless with tomcat/jboss?

You can use GWTGZipFilter from

https://github.com/realityforge/gwt-cache-filter

to achieve the same

On Sun, May 24, 2015 at 1:12 AM, Hua Zhang <hzhang1978@gmail.com> wrote:
> The easiest solution is using tomcat8, see
> https://tomcat.apache.org/tomcat-8.0-doc/default-servlet.html#change
>
> If a gzipped version of a file exists (a file with .gz appended to the file
> name located alongside the original file), Tomcat will serve the gzipped
> file if the user agent supports gzip and this option is enabled. [false]
>
>
> On Saturday, October 27, 2012 at 12:23:15 AM UTC+2, dhartford wrote:
>>
>> Hi all,
>> I've been trying to utilize
>> http://code.google.com/p/google-web-toolkit/wiki/PrecompressLinker, but for
>> (I'm assuming) the common usecase of deploying to Tomcat, or to Jboss, this
>> seems useless/no value.
>>
>> With tomcat, only configuration I could find was to modify server.xml with
>> Connector ...compression="on" .. configurations which RE-compresses (instead
>> of using pre-compressed) outgoing content, seemingly on the fly for every
>> request. Jboss seems to have similar challenges.
>>
>> Has anyone had success where using the GWT PrecompressLinker provided
>> value to Tomcat environments (opposed to jetty)? I know this isn't a direct
>> GWT question, but having a cool feature and being unable to use it leads one
>> wanting... :-)
>>
>> -Darren
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscribe@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.



--
Cheers,

Peter Donald

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment