Friday, February 20, 2015

BrowserLink and Why Is My Page So Slow?

In Visual Studio 2013 Microsoft added a new feature called "Browser Link". I was running some razor web pages that had almost nothing to them and they were taking a lot longer to load then they should have. So I hit F12 in the browser and analyzed the network traffic, and low and behold I noticed 3 or 4 additional gets going back to IIS, including one websocket call, that I never added. The culprit?  Browser Link.

I'm not sure what Browser Link does, but here is how to disable it.  My page load times went back from 1.56 seconds to .02 seconds.

[Disable Browser Link]

Happy Speedier Coding.

No comments: