public marks

LINK

ONJava.com -- Two Servlet Filters Every Web Application Should Have

by xderam & 2 others
HTTP压缩对于纯文本内容的压缩比很大,有40%到90%不等,可得到很大的数据传输节约,虽然WEB服务器会因为压缩导致CPU占用的略微上升,但是可以节约大量用于传输的网络IO。对于数据压缩带来的用户浏览速度提升(让页面符合8秒定律),这点总体负载5%-10%上升是非常值得的。毕竟通过数据压缩会比通过不规范的HTML代码优化要方便得多。 比如Tomcat?此文给出了一个解决方案:《Two Servlet Filters Every Web Application Should Have》。

Comments

No comment on this link yet.


PUBLIC TAGS
on this link

caching   filters   gzip   java   Servlet   web   优化  

BY

xderam
the 22/05/2006 at 13:13

bourzeix
the 04/07/2005 at 12:38

bitflip
the 24/03/2005 at 19:08