My server (windows 2008 r2) began serving files really really slowly in IIS 7 after I rebooted the machine.
To test what was causing this I created a file "test.txt" on the site directory and accessed it via
"http://127.0.0.1/test.txt"
and it took at least 5 minutes to load, the file has the contents
"This is a test file".
I am assuming it is an IIS configuration setting, but I cannot find anything that would make it run this slow.
I also tested this in chrome dev tools, the network tab says the entire delay is "waiting (TTFB)"
Is there some configuration that affects file serving time?
I cannot find anything else that would make it run slow, cpu is less than 5% during request.