I am n开发者_高级运维oticing a weird behavioral on some pages with flash file that loads XML in IE7 or IE8. If the browser is visible, the XML loads right after the flash. If the browser is minimized, while the load xml happens, it takes like 500 - 900 ms to load the XML. The same issue if its loading an image, say JPG.
Any ideas on what is causing this?
My educated guess is it has nothing to do with Flash, but with the way IE, or perhaps even Windows itself, is implemented: Minimized pages aren't considered as important as fully open windows, so other processes are prioritized.
Edit:
I have found several forum threads (like this one) discussing related problems and confirming my theory: Windows reduces thread priority for minimized windows, unless the program uses SetThreadPriority to override this behavior. This is true for many other programs as well, and it actually makes sense, if you ask me ;)
I finally found out the reason:
http://www.kaourantin.net/2010/03/timing-it-right.html
精彩评论