0

I've tried every solution on StackOverflow so far and I can't get it to get an acceptable performance.

I'm in the developing process (not even close to publish), each time I change a single character on a .cshtml file and reload the browser, it takes half a minute or more to reload.

What is wrong? I haven't tweaked any setting other than Edit and Continue under Web/debugger property (because that was one answer in StackOverflow) after the project was generated from scratch.

EDIT 1:

The controller method is defined as the following:

public ActionResult Create() { return View(); }

The page took 2 minutes in loading as per Google Chrome network statistics (in localhost) with a size of 6KB, and it happened after I modified the css classname for 3 <input> tags

Christopher Francisco
  • 15,672
  • 28
  • 94
  • 206

2 Answers2

2

try to disable "browser link" feature. You can find that option in dropdown menu of reload icon (the one between start debug and solution configuration dropdown).

Let me know if you notice any change.

Have a nice day,

Alberto

Alberto
  • 1,853
  • 1
  • 18
  • 22
0

It might just be the compile time if you're only experiencing the slowness the first time you refresh after the update. Try clearing the cache after the first refresh in the browser to see if reloads are faster than the first one. You'd know for sure if you have more pages and browse between them.

Try disabling the IPv6 in your browser. Also, take a look at this for additional tweaks:

Firefox and Chrome slow on localhost; known fix doesn't work on Windows 7

Community
  • 1
  • 1
Floremin
  • 3,969
  • 15
  • 20