摘要: web开发中可以通过gzip压缩页面来降低网站的流量,而gzip并不会对cpu造成大量的占用.resin中配置Gzip只需要在resin配置文件中加入一个filter即可,以下测试在resin-4.0.23非专业版上进行1.在resin.xml中<web-app ...>下增加<web-app xmlns="http://caucho.com/ns/resin"> <filter filter-name="gzip" filter-class="com.caucho.filters.GzipFilter" 阅读全文
posted @ 2012-08-28 12:13 WenEric 阅读(836) 评论(0) 推荐(0) 编辑