I have a Silverlight application that loads extremely slow from IIS. When I debug it takes about 5 seconds to load, where as from the server it takes over a minute. The size of the xap is only 8 MB, which does not seem particularly large to me, and although I have heard others talk about reducing the amount of media in the xap, my app only contains three low res icons, which should not have much impact. I have tested this from internet connections from ~10Mbps to ~24Mbps and there does not seem to be a whole lot of difference. Due to frequent changes, I have disabled application caching so that updates go through, but allowing caching still would not help the 1-2 minute load times for first time users (not exactly a great first impression).
Needless to say, this has left me with a few questions:
- Does this sound like a hardware/IIS issue or something that I have control over from the application side of things.
- Is an 8MB xap file larger than a typical xap?
- What could cause the difference between the debug load times and the deployed load times?
- I cannot imagine this is the case, but is a 1 minute start up time to be expected?