jquery apache tomcat ajp issues , ie6 hangs

The application I work on is accessed from all over the world, we don’t have any control over what kind of browser access it. So we have to check pretty much all possible combinations. After our latest release we had trouble with some users who were running windows 2000 with internet explorer 6.

I know this is an old system, but we can’t force them to upgrade, neither can we force them to install a real browser (i.e. firefox) as they don’t have local admin accounts. I checked windows xp with ie6 and this worked without any problems. So I picked up a windows 2000 cd and installed it in a vm. I upgraded the browser to the same version as the customer but couldn’t reproduce the problem.

After some emailing and friendly help from their local IT sysadmins, I could access an identical vm on their local systems. I user our test environment to do some tests changing settings here and there. After a couple of minutes I found out that the problem had to do with the jquery library. So I tried accessing it with the actual URL, maybe there was a security constraint or something but this worked without any problem. Even stranger when I accessed the applicaiton again everything worked perfectly, normally after the login the page would freeze and you had to kill the iexplore process.

After a while I figured it out. To shrink the size of the html we were using the compression options of apache. This shrinked the actual html sometimes with 80%. However we also shrinked all javascript libraries. JQuery default ships with a minimized library. It seems that some internet explorer versions have problems with accessing this file. I imagine that ie6 can’t handle a file that is minimized file and gziped at the same time.

So any one out there experiencing the same problems, you can check if you didn’t run into the same problem as we did.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.