Reputation: 1321
i have got a problem on an IIS on a normal PC.
When loading an website from that IIS with more than 20 css and JS,not all files are loaded. I have to reload the page (so that the first CSS and JS are got from cache), and then it loads the rest.
Any ideas, what could be the reason? And how i can solve it!
Upvotes: 0
Views: 203
Reputation: 44931
There are a number of possible causes for this, including a slow machine, a slow connection, or very large files.
Fiddler is extremely helpful in helping to narrow down where the bottleneck may be.
In some cases, it is a very large js file, which you can minimize using various tools, including this one from Microsoft.
If the machine is old or doesn't have much memory, you might consider updating the hardware or moving to a hosted server. The same applies if the connection is slow.
Upvotes: 1