Why does FireFox 3.6.8 not cache static contents from asp.net developer server?

前端 未结 5 1119
醉梦人生
醉梦人生 2021-01-05 18:59

I am working on a asp.net web site, like normal user, we use asp.net developer server during coding and testing. Today, I found the firefox not cache any static file of my s

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-05 19:36

    Thanks everybody for helping this question. I believe I found the reason why FireFox seems very slow on window 7 box. I did not notice the slowness when I was using windows XP.

    First all, Firefox will NOT cache any resource from asp.net web developer server. this fact does not change in XP or Window 7. When I use firebug check the resource downloading today, I noticed DNS lookup takes a couple of seconds. then I found out for window 7 default installation, the HOSTS file under windows\system32\driver\etc does not DNS entry 127.0.0.1 localhost. By adding this line to HOSTS file. my site is as fast as before.

提交回复
热议问题