Running sites on “localhost” is extremely slow

后端 未结 18 1639
终归单人心
终归单人心 2020-12-12 22:06

Having real trouble using my localhost to test sites. It runs extremely slowly! Sometimes it takes up to a minute to load a page. I\'m using Firefox and the sites I\'m testi

18条回答
  •  借酒劲吻你
    2020-12-12 22:19

    The cause of this for me was that the project was located on a network drive. I moved the project to the C: drive and everything ran without any delay.

    If the project is located on a network drive, try moving it to your local C: drive and try it again.

    The performance increase is much more than you would expect from just network speed. I guess VS is continually accessing the files when debugging an ASP.NET MVC application. I was using VS 2017, ASP.NET MVC debugging on IIS Express and this worked for me.

    I hope this helps.

提交回复
热议问题