I think this is a ServerFault question, though one part has to do with application design so please let me know if I should close and re-ask on StackOverflow.
I have a large directory of plain .htm files that my application pipes into various .aspx pages.
I also have a large directory of images.
For management reasons, I moved these two directories to another location than the physical root of the website and added them back as virtual directories through IIS 7.
I don't have concrete numbers, but I can tell that the site is appears slower to load as there is a fraction of a second before the images appear.
So I guess I have two questions:
A) Is this a bad way to configure the site?
B) Is there a caching mechanism I can use to mitigate the performance hit?
EDIT: I think my answer lies in here, but I don't understand it: http://technet.microsoft.com/en-us/library/cc732475(v=ws.10).aspx
An example of something I don't get is that under Enable Output Caching it states "By default, output caching is enabled in IIS 7."
But apparently there are times when you need to add an Output Caching Rule and I don't know if this is one of them.