[horde] Performance problems reloading the sidebar with HTTPS and IE

Robin Rainton robin at rainton.com
Wed Dec 7 15:00:03 PST 2005


I use this in the <VirtualHost> section of my Apache config to try and make
browsers cache SSL images, scripts, etc:

   ExpiresActive On
   ExpiresByType image/png "now plus 1 month"
   ExpiresByType image/gif "now plus 1 month"
   ExpiresByType text/javascript "now plus 1 month"
   ExpiresByType text/css "now plus 1 month"

Am not convinced this works, but you might like to play with something 
similar.

FWIW, I had to turn keepalives off because there are some buggy proxies 
around.
Basically, the proxy would drop connection to the server, but inside the LAN
being served by the proxy, the client wouldn't know this had happened. This
manifiests itself as composing a mail (with IMP) on popup window would only
send if you typed it really fast (before keepalive timeout). Otherwise some
dodgy error from the proxy was returned when trying to send. Rather 
annoying as
you can imagine.

That problem wasn't limited to Horde, BTW, other SSL sites we're serving also
failed.

Robin

Quoting Han Spruyt <han.spruyt at ijsselgroep.nl>:

>>> I'm wondering what Apache HTTP server version you are using?
>>>
>>> In this case 1.3.34.
>>
>> Ghm. I don't know how about your version, but on my machines (apache
>> 2.0.46 on redhat enterprise linux 3.0) I had similar problem. I
>> solved it by commenting out:
>>
>> #SetEnvIf User-Agent ".*MSIE.*" \
>> #         nokeepalive ssl-unclean-shutdown \
>> #         downgrade-1.0 force-response-1.0
>>
>> in ssl.conf. As far as I know all new redhat versions comes with this
>> old apache ssl configuration file.
>>
> This solves something in the latest IE 6 versions, but breaks
> compatibility with IE 5.
>
> It makes IE about as fast as Firefox in SSL connections because of the
> keepalive.
>
> There is good information about this stuff here:
> http://www.gossamer-threads.com/lists/apache/dev/299145
>
> It is not a solution though for the problems with the 304's in the 
> access log.
>
> The problem was, the cache content expired immediately, so browsers
> asked for new versions of every element on every page load.
>
> With setExpires on in the apache config the browser only askes for new
> versions of dynamic content. On a not so small site that saves a lot of
> SSL traffic. It really speeds up things for the user. We suffered page
> load times of up to 2 minutes, which is now reduced do a few seconds at
> most.
>
> Han.
>
>
>
> Han Spruyt.
>
>
>
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>





More information about the horde mailing list