How do I gzip my web files

前端 未结 9 1505
抹茶落季
抹茶落季 2021-02-03 11:45

As prescribed by Yahoo!, gzip\'ng files would make your websites load faster. The problem? I don\'t know how :p

9条回答
  •  旧时难觅i
    2021-02-03 12:26

    Jetty will look for gzip'd versions of static files, as well as it has a GzipFilter for dynamic content.

    You could probably pull the GzipFilter over into Tomcat if you wanted more control over compression than just Tomcat's connector-level compression...

    http://docs.codehaus.org/display/JETTY/GZIP+Compression

提交回复
热议问题