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

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

    I tried a Servlet filter to add GZIP compression (not Ehcache though) and couldn't get it work properly. I ended up putting Apache with mod_jk in front of the app Server. All it took was a few minutes to configure GIP compressiion and I'm also feeling a lot more secure since just one app is exposed instead of the whole App Server.

    0 讨论(0)
  • 2020-12-06 04:35

    You should try the Jawr API

    0 讨论(0)
提交回复
热议问题