What is the best method to GZIP a JSF-Seam web app pages

前端 未结 8 1688
眼角桃花
眼角桃花 2020-12-06 03:33

I\'m developing an JSF web app on Tomcat, planning to use Seam in the near future, and I want to add compression of our web pages and resources (i.e. Javascript & CSS fi

8条回答
  •  粉色の甜心
    2020-12-06 04:09

    An alternative Servlet filter can be found here:

    http://onjava.com/pub/a/onjava/2003/11/19/filters.html

    Like Ehcache, it tests to see if the browser supports it. I can't say categorically if it plays nicely with Seam, but I've used it in the past without trouble.

提交回复
热议问题