Why is performance is slow when 2010 Cassini serves static files?

时光怂恿深爱的人放手 提交于 2019-12-12 18:09:24

问题


When running a site in debug mode on 2010 I get incredible slow performance when cassini serves static files. According to Firebug it takes about 1 seconds for each request to resolve on 20 2kb images.

I haven't changed any settings, just have done a straight up install followed by converting a couple of projects. Rebooted the computer, reloaded IIS without solving anything.

I did have a different problem which I asked about on stackoverflow.com: Exception when VS 2010 ASP.NET Development Server Serves Static Files

Are my problems related?

Any ideas on what could be wrong or should I try a reinstall?

Update: This is not specific to any browser, all of them are just as slow as loading my resources.


回答1:


Check out the accepted answer on this question, which is highly relevant if you're using Firefox as your browser:

ASP.NET MVC on Cassini: How can I force the "content" directory to return 304s instead of 200s?



来源:https://stackoverflow.com/questions/1664855/why-is-performance-is-slow-when-2010-cassini-serves-static-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!