Javascript: why is our website extremely slow in a Terminal Services session?
Asked Answered
R

1

5

We created a website that relies heavily on Javascript and has quite a lot of DOM-elements.

In all browsers, even IE7 and IE8, this works fine. The user experience is a bit faster and more responsive in IE9, Chrome and Firefox, but even our clients that use IE7 don't complain.

BUT... clients that use a remote desktop complain that our website is much too slow, even when using IE9 on Windows 2008 Server (64-bit). Some pages that normally take only 1 second to load, now take up to 30 seconds! The reason is not a slow internet connection, other websites load quickly, only our website doesn't. And when these clients use Chrome it's very fast, so the problem is somehow in the combination of remote desktop and IE.

Now here comes the strange part : when the button "compatibility mode" is clicked in IE9, our website is fast again!

What could cause these extreme differences in speed?

We thought using <!DOCTYPE html> in IE9 was the best practice, but it seems that in a remote desktop session somehow we should use quirks-mode or force compatibility mode??

Any thoughts on this subject?

UPDATE

We found a solution : disabling CSS rounded corners for IE9 !
(see the accepted answer)

Rina answered 25/4, 2013 at 16:13 Comment(3)
How does the website load locally, no rdp, on the windows 08 box?Patrizio
sadly, we can't test that. We only received a remote login account from our client...Rina
I think it would have something to do with Server08 and IE9 securities, not the rdp session. Do you have any clients using rdp to connect to a non-server class os?Patrizio
R
7

We finally found out the reason behind the delays !

We use Jquery UI with a theme that has many rounded corners (using CSS).

The rounded corners bring IE9 to a grinding halt in a Terminal Services session!! (IE10 doesn't seem to have this same problem).

Unfortunately there's no way to detect if someone is using Terminal Services, because Microsoft was stupid enough to use the same browser version number for Windows 7 and Windows 2008 Server (!), so we decided to disable rounded corners on our website for all users with IE9.

Rina answered 26/4, 2013 at 16:52 Comment(1)
We had similar issue. Big difference.Terena

© 2022 - 2024 — McMap. All rights reserved.