Make the following changes in apache/conf/httpd.conf :-
1) Uncomment "LoadModule deflate_module modules/mod_deflate.so"
2) Add "SetOutputFilter DEFLATE" inside <<IfModule mime_module> section
3) Add "AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css" right after SetOutputFilter... line.
Restart Apache. You should see a significant improvement in the turnaround time for your web applications. This setting works for all responses tunneled trough Apache for ex:- for java web applications deployed on a Tomcat integrated with apache web server etc.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment