将gzip与GWT集成 [英] Integrate gzip with GWT

查看:184
本文介绍了将gzip与GWT集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要使用gzip与GWT

I want to use gzip with GWT

请建议如何压缩我的 GWT nocache.js,cache.html和gwt.rpc

Please suggest how do i compress my GWT nocache.js,cache.html and gwt.rpc files using gzip

请帮助我

感谢

推荐答案

通常,gzip是在您的文件托管的服务器上启用的,您可以为您的网站上的所有文件, 3。

Generally, gzip is enabled on the server that your files are being hosted on, and you can do it for all files on your site rather than just those 3.

此网站可以帮助您测试您的网站是否启用了gzip: http ://www.whatsmyip.org/http_compression/

This site helps you test whether gzip is enabled on your site: http://www.whatsmyip.org/http_compression/

以下是如何使用Apache网络服务器打开gzip:http://httpd.apache.org/docs/2.0/mod/mod_deflate.html

Here's how to turn gzip on with the Apache web server: http://httpd.apache.org/docs/2.0/mod/mod_deflate.html

这篇关于将gzip与GWT集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆