Why is Chrome calling the autocompleted url before validation?

后端 未结 2 1256
野的像风
野的像风 2021-01-12 02:27

I\'m using an API on my website to send emails to the users and while testing my call I noticed I was receiving the email twice.

So the url looks like \"localh

相关标签:
2条回答
  • 2021-01-12 03:20

    This is Google's prefetch feature, which loads the page quicker, assuming you execute the auto-completed URL.

    You can disable this option in Google Chrome:

    Settings > Advanced Settings > Privacy: (uncheck) Prefetch resources..
    
    0 讨论(0)
  • 2021-01-12 03:26

    Update 2019

    I came across a similar question on superuser, which I provided an updated answer for.


    • Disable page load prediction service

    chrome://settings/ -> expand Advanced section


    • Disable NoState Prefetch

    chrome://flags -> search for "nostate"

    0 讨论(0)
提交回复
热议问题