title: Apache 2.4.6 Https Page slowness issue
body: <p>I configured Apache 2.4 server, which used as a proxy server to my tomcat. There are two(maybe more) applications deployed on my Tomcat &amp; both are accessible only using apache web server IP and port(443-https). </p>
  
  <p>But whenever I tried to access Login.htm page, it took almost 10-15 sec to load a single page. When I tried to log in using username &amp; password, here welcome page took 1 min 20 sec to load. </p>
  
  <p>However, in my local environment (local IP and port(8080-http)) it took 1 sec for login page &amp; 3-4 sec for welcome page. Note - there is no apache web server configured on my local environment.</p>
  
  <p>I tried a lot of performance tuning methods on my apache web server, but none of them working for me. I am not sure what is missing here. Any help appreciated.
  Thanks in advance.</p>
  
  <p>Below is my apache server configuration.</p>
  
  <pre><code>Listen 443 https
  
  SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
  
  SSLSessionCache         shmcb:/run/httpd/sslcache(512000)
  SSLSessionCacheTimeout  300
  
  SSLRandomSeed startup file:/dev/urandom 512
  SSLRandomSeed connect builtin
  
  SSLCryptoDevice builtin
  
  &lt;VirtualHost &lt;APP_SERVER_IP_ADDR&gt;:443&gt;
  
  ServerName &lt;APP_SERVER_IP_ADDR&gt;
  ServerAlias &lt;APP_SERVER_IP_ADDR&gt;
  
  ErrorLog /var/log/httpd/ssl_error_log
  TransferLog /var/log/httpd/ssl_access_log
  LogLevel info
  
  SSLEngine on
  SSLProtocol all -SSLv2
  SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA
  SSLCertificateFile /etc/pki/tls/certs/localhost.crt
  SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
  
  &lt;Files ~ "\.(cgi|shtml|phtml|php3?)$"&gt;
      SSLOptions +StdEnvVars
  &lt;/Files&gt;
  &lt;Directory "/var/www/cgi-bin"&gt;
      SSLOptions +StdEnvVars
  &lt;/Directory&gt;
  
  BrowserMatch "MSIE [2-5]" \
           nokeepalive ssl-unclean-shutdown \
           downgrade-1.0 force-response-1.0
  
  CustomLog logs/ssl_request_log \
            "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  
      ProxyRequests     Off
      SSLProxyEngine  On
      ProxyPreserveHost On
      RewriteEngine On
      HostnameLookups off
  
      &lt;Proxy &lt;APP_SERVER_IP_ADDR&gt;:443&gt;
          Order deny,allow
          Allow from all
      &lt;/Proxy&gt;
  
      ProxyPass         /application1 http://&lt;WEB_SERVER_IP_ADDR&gt;:9660/application1
      ProxyPassReverse  /application1 http://&lt;WEB_SERVER_IP_ADDR&gt;:9660/application1
  
      ProxyPass         /application2 http://&lt;WEB_SERVER_IP_ADDR&gt;:9660/application2
      ProxyPassReverse  /application2 http://&lt;WEB_SERVER_IP_ADDR&gt;:9660/application2
  
      &lt;Location /proxy/&gt;
        ProxyPassReverse /
        Order deny,allow
        Allow from all     
      &lt;/Location&gt; 
  
      Header edit Location ^http://&lt;APP_SERVER_IP_ADDR&gt;/ https://&lt;APP_SERVER_IP_ADDR&gt;/
  
      Timeout 10
      ProxyTimeout 10
      ProxyBadHeader Ignore
  
  &lt;/VirtualHost&gt;
  </code></pre>