In a Java web application running in an Apache Tomcat servlet container with an Apache httpd in front of it:
- is it better to use enable GZIP compression on Tomcat or on httpd level?
- is it better to have SSL enabled in Tomcat or on httpd?
Application is used in a more or less reliable network (better than public internet, but a little bit worse than LAN) in terms of dropped packets, ping latency etc. The application makes heavy use of large dHTML, AJAX, static and dynamic content. Long user sessions (hours).