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

前端 未结 8 1720
眼角桃花
眼角桃花 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:14

    We use JBoss Seam on JBoss AS proxied and load balanced behind apache + mod_proxy_ajp with mod_deflate to compress outgoing traffic.

    Advantages of this setup

    • lots of examples in the net
    • easy configuration/debugging considering quirks of different user agents
    • changing the configuration at runtime (apachectl graceful instead of restarting webapp/tomcat to reflect changes).

提交回复
热议问题