问题
I'm debugging a web application running in visual studio with some breakpoints on some code that runs on every request to my web application.
I find that in chrome, as I type the url past the host, it triggers a request for everything I type as I type it... As if chrome prefetches the page to make it load faster or something.
While great for browsing the web, it's highly annoying when debugging code..
Anyone know of a way to disable, I've googled it a few different ways and what I can turn off I have, but it still makes requests as I type.
回答1:
Under the privacy settings (Settings -> show advanced settings... -> Privacy
) in Chrome (Version 46.0.2490.80 m)
uncheck these two settings:
- Use a prediction service to help complete searches and
URLs
typed in the address bar or theapp launcher
search box - Prefetch resources to load pages more quickly
来源:https://stackoverflow.com/questions/28020184/disable-web-requests-while-typing-url