Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
477 views
in Technique[技术] by (71.8m points)

.net - My Local Host goes so slow now that I am on windows 7 and Asp.net MVC

I switched from windows xp to windows 7 pro 64bit. When my computer was in xp I had 2 gigs of ram and overclocked my cpu to 3.0ghz now I have 4gigs of ram but had to lower my cpu to 2.8ghzs.

Ever since I been running windows 7 local host goes so slow when I run my asp.net mvc site. I don't understand why. It can take up to 20seconds to load up a page. With an average being 10.

The thing I really don't get is that when I use sloppy and put my speed at 256kb it runs alot faster then when I don't use sloppy and just use local host.

My site use to be instant on local host what I figure it should almost be since it is local host. So I can't understand why putting it at a speed is somehow faster.

Is there some option I need to set? Or some IIS setting? I don't think I installed IIS yet since I just use the built in thing from visual stuidos 2008(cassa?)

I get the same slowness in all major browser(firefox,IE,chrome,opera,safari).

Thanks

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I've had this problem many times, it started with Vista for me. It is due to IPv6. In your hosts file, comment out the definition for the IPv6 address for localhost, and things should go to normal speed. Also, I dont know if you actually need to or not, but I suggest flushing the DNS cache after doing this change, and restart your browser.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...