Monday, October 29, 2012

Re: Pre-Compress GWT compiler output for web server



On Monday, October 29, 2012 6:46:45 PM UTC+1, Joseph Lust wrote:
The general solution is to setup your Tomcat behind an Apache server. mod_headers works well on just Apache, so you can use a filter there with mod_headers to add the gzip headers. This way the browser knows that this js file is gz encoded.

Much easier with MultiViews, and your *.js.gz and *.js files are both served from the same *.js URL.
But what's the problem with enabling compression on Tomcat and/or using a GzipFilter (e.g. on Jetty)?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZAKzmRwqsOQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment